PT-2026-63552 · Netty · Netty

CVE-2026-59921

·

Published

2026-07-22

·

Updated

2026-08-06

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Netty versions prior to 4.1.136.Final Netty versions prior to 4.2.16.Final
Description Netty's 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 (Carriage Return Line Feed) characters. CRLF characters are used as delimiters for MIME headers, allowing an attacker who controls the filename to inject arbitrary MIME headers into the multipart body part. This occurs because the encoder and the setFilename() methods in DiskFileUpload, MemoryFileUpload, and MixedFileUpload do not neutralize these characters. This can lead to Content-Type spoofing, stored Cross-Site Scripting (XSS) by overriding the file type to HTML, or the injection of custom headers that may affect downstream middleware and application logic.
Recommendations Update Netty to version 4.1.136.Final or later. Update Netty to version 4.2.16.Final or later. As a temporary mitigation, restrict the use of the HttpPostRequestEncoder or implement manual CRLF sanitization on all user-supplied filenames and field names before they are processed by the encoder.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-59921
GHSA-GCJF-9MGH-3P7G
OPENSUSE-SU-2026:11394-1
SUSE-SU-2026:3482-1

Affected Products

Netty