# CVE-2026-59920: Netty: STOMP CONNECT Frame Header Injection

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-22T21:52:27.000Z
- Modified: 2026-09-10T03:51:10.205Z
- Also known as: GHSA-3g8r-4pfx-jmfh
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- netty netty: < 4.1.136.Final; >= 4.2.0.Final, < 4.2.16.Final; before 4.1.136; from 4.2.0 before 4.2.16
- io.netty:netty-codec-stomp (Maven): from 4.2.0.Final before 4.2.16.Final; before 4.1.136.Final

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-3g8r-4pfx-jmfh> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/netty/netty> (package)
- <https://github.com/netty/netty/releases/tag/netty-4.1.136.Final> (web)
- <https://github.com/netty/netty/releases/tag/netty-4.2.16.Final> (web)

## Sources

- CVE List: [CVE-2026-59920](https://www.cve.org/CVERecord?id=CVE-2026-59920), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-3g8r-4pfx-jmfh](https://github.com/advisories/GHSA-3g8r-4pfx-jmfh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59920](https://nvd.nist.gov/vuln/detail/CVE-2026-59920), Public domain, modified 2026-08-06

---

Page: https://cve.day/CVE-2026-59920 · Whole record: https://cve.day/CVE-2026-59920.json · Rebuilt by cve.day 2026-11-25T22:59:30.465Z
