{"id":"CVE-2026-59921","published":"2026-07-28T22:28:51Z","modified":"2026-07-29T17:32:31Z","title":"Netty: CRLF Injection via Multipart Filename in Netty HttpPostRequestEncoder","vendor":"netty","product":"netty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00465,"percentile":0.41178,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-gcjf-9mgh-3p7g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.24},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":[">= 4.2.0.Final, < 4.2.16.Final","< 4.1.136.Final"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-29T12:49:35.429260Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-codec-http","vulnerableRanges":[">=4.2.0.Final, <4.2.16.Final","<4.1.136.Final"],"patched":["4.2.16.Final","4.1.136.Final"],"from":["GHSA-gcjf-9mgh-3p7g"],"provenance":"source"}],"summary":{"text":"Netty's HttpPostRequestEncoder, the component that builds multipart HTTP request bodies, does not neutralize CRLF characters in user-supplied filenames and field names before writing them into Content-Disposition MIME headers. An attacker who can influence the filename can inject arbitrary MIME headers into the multipart body part, and exploitation requires that the attacker have low-privilege authentication to the affected application, with the attack being performed over the network against the application's network-facing functionality.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:06Z"},"euvd":{"id":"EUVD-2026-50089","exploited":false,"provenance":"source"}}