Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

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)

0
Medium
Published: 07/28/2026 (07/28/2026, 23:17:00 UTC)
Source: GCVE Database
Product: netty

Description

Netty versions prior to 4.1.136.Final and 4.2.16.Final contain 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

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

Affected software

Mavenghsa
io.netty:netty-codec-http
Affected versions
>=4.2.0.Final <4.2.16.Final
Mavenghsa
io.netty:netty-codec-http
Affected versions
<4.1.136.Final

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 16:58:42 UTC

Technical Analysis

Netty is an asynchronous network application framework. In versions before 4.1.136.Final and 4.2.16.Final, the HttpPostRequestEncoder component constructs multipart HTTP request bodies by concatenating user-supplied filenames and field names directly into Content-Disposition MIME headers without validating or neutralizing CRLF characters (\r\n). Since MIME headers are delimited by CRLF, this lack of sanitization enables an attacker who controls the filename to inject arbitrary MIME headers into the multipart body part. The root cause is that neither the encoder nor the FileUpload implementations' setFilename() methods neutralize CRLF characters before embedding the filename into the header. This vulnerability has been addressed in 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, potentially affecting the integrity of HTTP requests or responses processed by the application. The CVSS score of 6.5 (medium severity) reflects that the vulnerability requires network access with low complexity and privileges but can cause a high impact on integrity. There is no indication of confidentiality or availability impact. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade Netty to version 4.1.136.Final or later, or 4.2.16.Final or later, where this vulnerability has been fixed by properly sanitizing CRLF characters in filenames and field names used in multipart HTTP request bodies. No other mitigations are indicated by the vendor advisory or source data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 08/08/2026, 16:58:42 UTC

Last updated: 09/05/2026, 07:00:18 UTC

Views: 118

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses