Red Hat VEX
RHVEX-CVE-2026-12143
form-data: form-data: Form field override via CRLF injection
Details
A flaw was found in form-data, a library for creating readable multipart/form-data streams. A remote attacker can exploit this vulnerability by injecting carriage return (CR), line feed (LF), or double-quote (") characters into the field argument of FormData#append or the filename option. This allows the attacker to inject additional headers or smuggle entire additional multipart parts into requests, potentially enabling them to add or override form fields and compromise data integrity.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | cockpit-composer | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-12143
- https://bugzilla.redhat.com/show_bug.cgi?id=2488480
- https://www.cve.org/CVERecord?id=CVE-2026-12143
- https://nvd.nist.gov/vuln/detail/CVE-2026-12143
- https://cwe.mitre.org/data/definitions/93.html
- https://github.com/form-data/form-data/commit/64190db548c0179e37206858e39f27cf513e9435
- https://github.com/form-data/form-data/commit/be3f3cf553978bac15a5182f1f3c3d2d38ccf229
- https://github.com/form-data/form-data/commit/c7133499c2ee1b80c678e411244f4442bf902045
- https://github.com/form-data/form-data/security/advisories/GHSA-hmw2-7cc7-3qxx
- https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data
- https://www.npmjs.com/package/form-data