Security mailing lists by PureSourceCode

CVE-2026-59921

MEDIUM 6.5CVSS 3.1

Netty: CRLF Injection via Multipart Filename in Netty HttpPostRequestEncoder

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.

Published
28 Jul 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-93
Also known as
GHSA-gcjf-9mgh-3p7g
Sources
NVDJSONOSV GHSA-gcjf-9mgh-3p7gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.7 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.7 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD netty netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
< 4.1.136 4.1.136
NVD netty netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.16 4.2.16
OSV Maven io.netty:netty-codec-http >= 4.2.0.Final, < 4.2.16.Final 4.2.16.Final
OSV Maven io.netty:netty-codec-http < 4.1.136.Final 4.1.136.Final

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 28 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.