Bug 2507467 (CVE-2026-59921) - CVE-2026-59921 io.netty/netty-codec-http: Netty: CRLF Injection via Multipart Filename in Netty HttpPostRequestEncoder
Summary: CVE-2026-59921 io.netty/netty-codec-http: Netty: CRLF Injection via Multipart...
Keywords:
Status: NEW
Alias: CVE-2026-59921
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-27 13:55 UTC by OSIDB Bzimport
Modified: 2026-07-27 15:43 UTC (History)
109 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-27 13:55:35 UTC
CRLF Injection vulnerability in the multipart message encoder of the Netty Java networking library (io.netty.handler.codec.http.multipart.HttpPostRequestEncoder). The flaw is caused by the direct concatenation of user-supplied filenames and field names into Content-Disposition MIME headers without validating or sanitizing CRLF sequences (\r\n) in the setFilename() method of DiskFileUpload, MemoryFileUpload, and MixedFileUpload, as well as in multiple code paths within HttpPostRequestEncoder.java (lines 519, 633, 674, 682, 686–688). When a specially crafted filename containing CRLF characters is processed, an attacker can inject arbitrary MIME headers into the multipart body part, enabling Content-Type spoofing, stored cross-site scripting (XSS), form field override, or manipulation of downstream middleware and storage layers. This can be exploited remotely with low privileges and without any user interaction, allowing attackers to compromise the confidentiality and integrity of applications or services using Netty's HTTP multipart encoding.


Note You need to log in before you can comment on or make changes to this bug.