The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-42578

CVE-2026-42578: Netty HTTP Header Injection Vulnerability

CVE-2026-42578 is an HTTP header injection flaw in Netty's HttpProxyHandler that allows attackers to inject arbitrary headers into CONNECT requests. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2026-42578 Overview

CVE-2026-42578 is a header injection vulnerability in Netty, an asynchronous, event-driven network application framework widely used in Java applications. The flaw exists in HttpProxyHandler, which constructs HTTP CONNECT requests with header validation explicitly disabled. The newInitialMessage() method creates headers using DefaultHttpHeadersFactory.headersFactory().withValidation(false), then appends user-supplied outboundHeaders without CRLF validation. An attacker who can influence outbound headers can inject arbitrary HTTP headers into the CONNECT request sent to the proxy server. The issue maps to [CWE-113] HTTP Response Splitting and affects Netty versions prior to 4.2.13.Final and 4.1.133.Final.

Critical Impact

Attackers who control proxy outbound headers can inject arbitrary HTTP headers into CONNECT requests, enabling request smuggling or proxy manipulation under specific deployment conditions.

Affected Products

  • Netty versions prior to 4.2.13.Final
  • Netty versions prior to 4.1.133.Final
  • Applications using HttpProxyHandler with attacker-influenced outbound headers

Discovery Timeline

  • 2026-05-13 - CVE-2026-42578 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42578

Vulnerability Analysis

The vulnerability resides in Netty's HttpProxyHandler, the component responsible for tunneling traffic through an HTTP proxy via the CONNECT method. When the handler builds the initial CONNECT request, it instantiates an HttpHeaders object with validation disabled. Validation is the safeguard that rejects header names and values containing carriage return or line feed characters.

Without this check, any caller-supplied header passed through outboundHeaders is written verbatim into the wire-level HTTP message. An attacker who influences a header value can embed \r\n sequences to terminate the current header line and append additional headers, or even a second HTTP request, to the CONNECT payload sent upstream.

Root Cause

The root cause is the explicit use of DefaultHttpHeadersFactory.headersFactory().withValidation(false) inside newInitialMessage(). This bypasses Netty's built-in CRLF defenses for header content. Combined with the absence of any compensating sanitization on outboundHeaders, attacker-controlled data flows directly into the serialized HTTP request.

Attack Vector

Exploitation requires the attacker to control or influence the value of a header passed to HttpProxyHandler. The injection occurs over the network channel between the Netty client and the upstream proxy. A successful injection can introduce spoofed headers such as Host, Authorization, or smuggled request lines, depending on how the proxy parses the malformed CONNECT request. No verified proof-of-concept exploit code is publicly available. See the GitHub Security Advisory for technical details.

Detection Methods for CVE-2026-42578

Indicators of Compromise

  • CONNECT requests in proxy access logs containing unexpected secondary headers or duplicate Host entries
  • Proxy log entries showing malformed CRLF sequences within header values for upstream tunnels
  • Anomalous HTTP request volume from Java services that route through HttpProxyHandler

Detection Strategies

  • Inspect dependency manifests (Maven, Gradle) for io.netty:netty-codec-http versions below 4.2.13.Final or 4.1.133.Final
  • Apply static analysis rules to flag invocations of HttpProxyHandler constructors that accept user-supplied header maps
  • Enable proxy-side strict header parsing to log or reject CONNECT requests containing embedded CRLF

Monitoring Recommendations

  • Forward proxy and application logs to a centralized analytics platform for correlation of malformed CONNECT requests
  • Alert on header values that exceed normal length or contain non-printable characters before they reach the proxy
  • Track outbound HTTP traffic patterns from Netty-based services for unusual upstream targets following deployments

How to Mitigate CVE-2026-42578

Immediate Actions Required

  • Upgrade Netty to 4.2.13.Final or 4.1.133.Final in all affected services and rebuild dependent artifacts
  • Audit all code paths that pass user-controlled data into HttpProxyHandler outbound headers
  • Restrict proxy configuration so that only trusted internal components can supply outbound header values

Patch Information

The vulnerability is fixed in Netty 4.2.13.Final and 4.1.133.Final. The patches restore header validation in the CONNECT request construction path. Refer to the Netty GHSA-45q3-82m4-75jr advisory for release notes and remediation details.

Workarounds

  • Sanitize all header values for \r and \n characters before passing them to HttpProxyHandler
  • Reject or strip user-supplied input from any header map forwarded to the proxy handler until upgrade is possible
  • Place an intermediate HTTP-aware proxy that enforces strict CRLF rejection between Netty clients and upstream proxies
bash
# Maven dependency upgrade example
mvn versions:use-dep-version -Dincludes=io.netty:netty-codec-http -DdepVersion=4.1.133.Final -DforceVersion=true

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechNetty

  • SeverityLOW

  • CVSS Score2.9

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-113
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42585: Netty Request Smuggling Vulnerability

  • CVE-2026-42581: Netty HTTP Request Smuggling Vulnerability

  • CVE-2026-42579: Netty DNS Codec Vulnerability

  • CVE-2026-41417: Netty HTTP Request Smuggling 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