Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-29085

CVE-2026-29085: Hono Framework SSE XSS Vulnerability

CVE-2026-29085 is an XSS vulnerability in Hono Web framework affecting streamSSE() in versions before 4.12.4. Attackers can inject SSE fields via unvalidated input. This article covers technical details, impact, and patches.

Published: March 6, 2026

CVE-2026-29085 Overview

CVE-2026-29085 is an injection vulnerability in Hono, a lightweight Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, the streamSSE() function in the Streaming Helper module failed to properly validate the event, id, and retry fields for carriage return (\r) or newline (\n) characters. Since the Server-Sent Events (SSE) protocol uses line breaks as field delimiters, this vulnerability allows attackers to inject additional SSE fields within the same event frame when untrusted input is passed into these fields.

Critical Impact

Attackers can manipulate SSE streams by injecting malicious event data, potentially leading to client-side data manipulation, event spoofing, or unauthorized command execution in SSE-consuming applications.

Affected Products

  • Hono Web Framework versions prior to 4.12.4
  • Applications using the streamSSE() Streaming Helper function with untrusted input
  • Any JavaScript runtime environment running vulnerable Hono versions (Node.js, Deno, Bun, Cloudflare Workers, etc.)

Discovery Timeline

  • 2026-03-04 - CVE CVE-2026-29085 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-29085

Vulnerability Analysis

This vulnerability is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), commonly known as injection. The root issue stems from insufficient input validation in the SSE streaming functionality of the Hono framework.

The SSE protocol defines a simple text-based format where fields are delimited by newline characters. Each event consists of fields like event:, data:, id:, and retry:, separated by line breaks. When the streamSSE() function accepts user-controlled input for these fields without sanitizing newline characters, an attacker can terminate the current field prematurely and inject arbitrary additional fields.

This attack pattern is particularly dangerous in real-time applications that rely on SSE for pushing updates to clients, as injected events could manipulate application state, trigger unintended client-side behavior, or spoof legitimate server events.

Root Cause

The streamSSE() function in Hono's Streaming Helper module did not implement proper input validation for the event, id, and retry parameters. Specifically, the function failed to sanitize or reject carriage return (\r) and newline (\n) characters before incorporating these values into the SSE stream output. This oversight allows attackers to break out of the intended field context and inject additional SSE protocol elements.

Attack Vector

The attack requires network access and involves sending malicious input that gets processed by the streamSSE() function. An attacker can craft input containing newline characters followed by additional SSE fields. When this input is used in the event, id, or retry parameters, the injected content becomes part of the SSE stream sent to connected clients.

For example, if an application passes user input directly to the event field, an attacker could inject a value like legitimate\ndata: malicious payload which would result in the SSE stream containing an injected data field with attacker-controlled content. This can lead to event spoofing where clients receive fabricated events that appear to originate from the legitimate server.

For detailed technical analysis and proof-of-concept information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-29085

Indicators of Compromise

  • Unusual SSE event patterns in application logs containing unexpected newline sequences
  • Client-side errors or unexpected behavior in applications consuming SSE streams
  • Multiple SSE fields appearing where single fields were expected in network traffic analysis
  • User input containing \r or \n characters being processed by SSE endpoints

Detection Strategies

  • Review application code for instances where user-controlled input is passed to streamSSE() function parameters
  • Implement web application firewall (WAF) rules to detect and block requests containing newline characters in SSE-related parameters
  • Monitor SSE endpoint traffic for anomalous patterns indicating injection attempts
  • Conduct static code analysis to identify vulnerable code paths in Hono-based applications

Monitoring Recommendations

  • Enable detailed logging for all SSE endpoint interactions including input parameter values
  • Set up alerts for SSE streams containing unexpected field delimiters or malformed event structures
  • Monitor for client-side error reports that may indicate successful injection attacks
  • Implement network traffic analysis to detect SSE protocol anomalies

How to Mitigate CVE-2026-29085

Immediate Actions Required

  • Upgrade Hono to version 4.12.4 or later immediately
  • Audit all application code for usage of the streamSSE() function with untrusted input
  • Implement input validation to strip or reject newline characters before passing data to SSE functions
  • Consider temporarily disabling affected SSE endpoints until patches can be applied

Patch Information

The vulnerability has been addressed in Hono version 4.12.4. The fix implements proper validation and sanitization of the event, id, and retry fields to prevent injection of carriage return and newline characters.

The patch can be reviewed at the GitHub Commit. For complete security details, consult the GitHub Security Advisory.

Workarounds

  • Implement input sanitization to remove or escape \r and \n characters before passing data to streamSSE()
  • Use an allowlist approach for SSE field values, rejecting any input containing control characters
  • Deploy a reverse proxy or WAF rule to filter requests containing newline characters in relevant parameters
  • Avoid using user-controlled input directly in SSE event, id, or retry fields
bash
# Upgrade Hono to patched version
npm update hono@4.12.4

# Or using yarn
yarn upgrade hono@4.12.4

# Verify installed version
npm list hono

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechHono

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-74
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-24771: Hono Web Framework XSS Vulnerability

  • CVE-2026-39410: Hono Framework Auth Bypass Vulnerability

  • CVE-2026-39408: Hono Framework Path Traversal Vulnerability

  • CVE-2026-39406: Hono Node.js Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English