Netty: Prior to versions 4.1.136.Final and 4.2.16.Final, HttpPostRequestEncoder constructs multipart HTTP request bodies by directly concatenating… (CVE-2026-59921)
Description
Netty versions prior to 4.1.136.Final and 4.2.16.Final have a vulnerability in HttpPostRequestEncoder where multipart HTTP request bodies are constructed by directly concatenating user-supplied filenames and field names into Content-Disposition MIME headers without sanitizing CRLF characters. This allows an attacker controlling the filename to inject arbitrary MIME headers into the multipart body part. The issue is fixed in versions 4.1.136.Final and 4.2.16.Final.
CVSS v3.1
Score 6.5medium
Affected software
pkg:deb/ubuntu/netty?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/netty?arch=source&distro=esm-apps-legacy/xenialpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/netty?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/netty?arch=source&distro=stonkingpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Netty's HttpPostRequestEncoder affects versions prior to 4.1.136.Final and 4.2.16.Final. It arises because multipart HTTP request bodies are constructed by directly concatenating user-supplied filenames and field names into Content-Disposition MIME headers without sanitizing carriage return and line feed (CRLF) characters. This lack of sanitization enables an attacker who can control the filename to inject arbitrary MIME headers into the multipart body part. The vulnerability is identified as CWE-93 (Improper Neutralization of CRLF Sequences in HTTP Headers). The issue has been fixed in Netty versions 4.1.136.Final and 4.2.16.Final.
Potential Impact
An attacker able to control the filename in a multipart HTTP request can inject arbitrary MIME headers into the multipart body part. This can lead to HTTP header injection attacks, potentially affecting the integrity of HTTP requests processed by vulnerable Netty versions. The CVSS 3.1 score is 6.5 (medium severity), reflecting that the vulnerability requires low privileges and no user interaction but impacts integrity without affecting confidentiality or availability.
Mitigation Recommendations
Upgrade Netty to version 4.1.136.Final or later, or 4.2.16.Final or later, where this vulnerability is fixed. There are no vendor advisories indicating alternative mitigations or that no action is required. Patch status is confirmed fixed in these versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gcjf-9mgh-3p7g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-59921"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a6150d39c2644c7f8da06c6
Added to database: 07/22/2026, 23:22:59 UTC
Last enriched: 10/18/2026, 04:34:30 UTC
Last updated: 10/21/2026, 13:20:22 UTC
Views: 177
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.