Back to overview

CVE-2026-59921

MEDIUM
5.7
CVSS 3.1
Description
Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, HttpPostRequestEncoder constructs multipart HTTP request bodies by directly concatenating user-supplied filenames and field names into Content-Disposition MIME headers without validating or sanitizing CRLF characters (\r\n). Since MIME headers are delimited by CRLF, an attacker who controls the filename can inject arbitrary MIME headers into the multipart body part. The root cause is that neither the encoder nor the FileUpload implementations' setFilename() methods, which only check for null, neutralize CRLF characters before the filename is embedded into the header. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.

Metadata

CVE ID
CVE-2026-59921
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-07-07 18:20 UTC
Published
2026-07-28 22:28 UTC
Last updated
2026-07-28 22:28 UTC
Primary CWE
CWE-93
CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Inj…
Vendor / Product
netty / netty
Sources
cve.org  ·  NVD

Severity & Metrics

5.7 MEDIUM CVSS 3.1
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Affected products (1)
VendorProductPlatformVersions
netty netty >=4.2.0.Final, < 4.2.16.Final, < 4.1.136.Final
Weakness (CWE)
CWESourceDescription
CWE-93 cna CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.7 MEDIUM 3.1 cna CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References (1)
Back to overview