CVE-2026-42578: Netty: HTTP Header Injection via HttpProxyHandler Disabled Validation
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, Netty's HttpProxyHandler constructs HTTP CONNECT requests with header validation explicitly disabled. The newInitialMessage() method creates headers using DefaultHttpHeadersFactory.headersFactory().withValidation(false), then adds user-provided outboundHeaders without any CRLF validation. This allows an attacker who can influence the outbound headers to inject arbitrary HTTP headers into the CONNECT request sent to the proxy server. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Security readout for executives and security teams
Plain-English summary
Netty, a widely embedded Java networking library, shipped a proxy client component that trusted caller-supplied HTTP headers without checking for line breaks. An attacker who can influence those headers can smuggle extra instructions into the request the application sends to its outbound proxy. The fix is a version upgrade to 4.2.13.Final or 4.1.133.Final; no active exploitation is cited in the source bundle.
Executive priority
Treat as a high-priority patch cycle item, not an emergency. Schedule upgrades within the next standard patch window and prioritize internet-facing Java services that route outbound traffic through HTTP proxies, since those carry the most realistic exposure.
Technical view
In HttpProxyHandler.newInitialMessage(), Netty built the CONNECT request using DefaultHttpHeadersFactory.headersFactory().withValidation(false) and appended user-supplied outboundHeaders without CRLF validation. Any attacker-influenced header value containing \r\n can inject arbitrary headers or additional request lines toward the proxy. CWE-113 (HTTP Response Splitting) and CWE-93 (CRLF Injection) apply. CVSS 3.1 base 7.5 (AV:N/AC:L/PR:N/UI:N/C:N/I:H/A:N). Fixed in 4.2.13.Final and 4.1.133.Final.
Likely exposure
Applies to Java services and platforms that embed Netty 4.2.x before 4.2.13.Final or 4.1.x before 4.1.133.Final and use HttpProxyHandler to reach an outbound HTTP proxy with header values derived from user-controlled or untrusted input. Red Hat has issued multiple RHSA errata, suggesting broad downstream Java middleware exposure.
Exploitation context
No KEV listing and no public exploitation reports appear in the source bundle. Exploitation requires that an attacker can influence values placed into HttpProxyHandler's outboundHeaders, so risk depends on how the embedding application composes proxy headers. Impact is header injection against the proxy hop, potentially enabling request smuggling or auth header manipulation, not remote code execution.
Researcher notes
Root cause is the explicit withValidation(false) on the headers factory inside newInitialMessage(), combined with unchecked addition of outboundHeaders. Verify whether your calling code sanitizes header values or relies on Netty. Watch for transitive inclusion through gRPC, Reactor Netty, Vert.x, Spring WebFlux, Elasticsearch clients, and other Netty consumers. No public PoC is cited in the bundle; confirm before assuming exploitability in a given deployment.
Mitigation direction
Upgrade Netty to 4.2.13.Final or 4.1.133.Final across all services and container base images.
Apply Red Hat RHSA-2026:28010, 25123, 36820, 37390, 23808, and 24502 where products are affected.
Audit application code that populates HttpProxyHandler outboundHeaders and reject values containing CR or LF.
Confirm downstream vendors ship a patched Netty in their next release and track SBOM alerts.
Validation and detection
Inventory Netty versions via SBOM, Maven/Gradle dependency reports, or `mvn dependency:tree` across builds.
Grep repositories for HttpProxyHandler usage and trace outboundHeaders sources back to untrusted input.
After upgrade, verify runtime classpath resolves to the fixed Netty version, not a shadowed older copy.
Track Red Hat VEX and GHSA-45q3-82m4-75jr for updated affected-product statements.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-113: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-113 · source CWE mapping
Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Neutralization of CRLF Sequences ('CRLF Injection')
Improper Neutralization of CRLF Sequences ('CRLF Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.