Bug 2488480 (CVE-2026-12143) - CVE-2026-12143 form-data: form-data: Form field override via CRLF injection
Summary: CVE-2026-12143 form-data: form-data: Form field override via CRLF injection
Keywords:
Status: NEW
Alias: CVE-2026-12143
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2511035 2511037 2511039 2511040 2511041 2511042 2511044 2511045 2511046 2511047 2511048 2511049 2511050 2511051 2511052 2511053 2511055 2511033 2511034 2511036 2511038 2511043 2511056
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-12 19:01 UTC by OSIDB Bzimport
Modified: 2026-08-04 17:36 UTC (History)
154 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:41951 0 None None None 2026-07-20 11:57:32 UTC
Red Hat Product Errata RHSA-2026:48151 0 None None None 2026-07-29 19:55:35 UTC

Description OSIDB Bzimport 2026-06-12 19:01:20 UTC
form-data is a library for creating readable multipart/form-data streams. In versions through 4.0.5, the `field` argument to `FormData#append` and the `filename` option are concatenated verbatim into the `Content-Disposition` header without escaping carriage return (CR), line feed (LF), or double-quote (") characters. An application that passes attacker-controlled data as a field name or filename (for example, an API gateway that turns JSON object keys into multipart field names) allows the attacker to terminate the header line and inject additional headers, or to smuggle entire additional multipart parts, into the request the application forwards to a backend. This can let the attacker add or override form fields (e.g. set `is_admin=true`) seen by the downstream parser. This is an instance of CWE-93 (CRLF injection). The fix escapes CR, LF, and `"` as `%0D`, `%0A`, and `%22` in field names and filenames, matching the serialization browsers use per the WHATWG HTML multipart/form-data encoding algorithm. Exploitation requires the consuming application to use untrusted input as a field name or filename; applications that use only fixed/trusted field names are not affected. Fixed in 2.5.6, 3.0.5, and 4.0.6.

Comment 2 errata-xmlrpc 2026-07-20 11:57:24 UTC
This issue has been addressed in the following products:

  Red Hat Data Grid 8.6.2

Via RHSA-2026:41951 https://access.redhat.com/errata/RHSA-2026:41951

Comment 3 errata-xmlrpc 2026-07-29 19:55:27 UTC
This issue has been addressed in the following products:

  Cryostat 4 on RHEL 9

Via RHSA-2026:48151 https://access.redhat.com/errata/RHSA-2026:48151


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