🔐 CVE Alert

CVE-2026-59920

MEDIUM 6.5

Netty: STOMP CONNECT Frame Header Injection

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

Netty is an asynchronous, event-driven network application framework. In versions prior to 4.1.136.Final and 4.2.16.Final, Netty's STOMP encoder ( StompSubframeEncoder ) does not escape or validate header values in  CONNECT  and  CONNECTED  frames, so raw newline ( \n ) characters in a header value are written directly to the wire, allowing an attacker who controls a header value to inject additional STOMP headers. This happens because the encoder intentionally skips escaping for CONNECT/CONNECTED frames per the STOMP 1.2 specification but never rejects the raw newlines, and since a broker parses each line as a separate header, an attacker controlling a value such as a user-supplied login or passcode can overwrite connection parameters or add authentication/role headers to bypass authentication or escalate privileges (the actual impact is broker-dependent). The issue is fixed in versions 4.1.136.Final and 4.2.16.Final.

CWE CWE-93
Vendor netty
Product netty
Published Jul 29, 2026
Last Updated Jul 29, 2026
Stay Ahead of the Next One

Get instant alerts for netty netty

Be the first to know when new medium vulnerabilities affecting netty netty are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

netty / netty
< 4.1.136.Final >= 4.2.0.Final, < 4.2.16.Final

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/netty/netty/security/advisories/GHSA-3g8r-4pfx-jmfh