CVE-2026-59898: Netty: WebSockets V07/V08 handshaker missing Connection/Upgrade validation
Summary An attacker can force WebSocket upgrade via the lax V07 (or V08) handshaker by sending Sec-WebSocket-Version: 7 and omitting Connection: Upgrade / Upgrade: websocket headers, completing a protocol switch that a proxy would not recognize as an Upgrade request and enabling HTTP request smuggling / protocol-confusion attacks.
Other sources
Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, ab attacker can force WebSocket upgrade via the lax V07 (or V08) handshaker by sending Sec-WebSocket-Version: 7 and omitting Connection: Upgrade / Upgrade: websocket headers, completing a protocol switch that a proxy would not recognize as an Upgrade request and enabling HTTP request smuggling / protocol-confusion attacks. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/io.netty:netty-codec-httpto a version that resolves this vulnerability.Fixed in 4.1.136.Final - Upgrade
Upgrade
maven/io.netty:netty-codec-httpto a version that resolves this vulnerability.Fixed in 4.2.16.Final - Upgrade
Upgrade
nettyto a version that resolves this vulnerability.Fixed in 4.1.136.Final - Upgrade
Upgrade
nettyto a version that resolves this vulnerability.Fixed in 4.2.16.Final
Event History
Frequently Asked Questions
What is the severity of CVE-2026-59898?
CVE-2026-59898 has a severity rating of 65.
How do I fix CVE-2026-59898?
To fix CVE-2026-59898, upgrade to a patched version of netty, specifically versions 4.1.136.Final or 4.2.16.Final.
What type of attack does CVE-2026-59898 facilitate?
CVE-2026-59898 facilitates unauthorized WebSocket upgrades by manipulating HTTP headers.
Which software is affected by CVE-2026-59898?
CVE-2026-59898 affects the maven/io.netty:netty-codec-http software.
When was CVE-2026-59898 published?
CVE-2026-59898 was published on July 22, 2026.