CVE-2026-12143
Last modified
CVE-2026-12143 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| form-data | form-data | < 2.5.6; >= 3.0.0, < 3.0.5; >= 4.0.0, < 4.0.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-12143?
How severe is CVE-2026-12143?
How do I fix CVE-2026-12143?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-121424Nodemailer from 3.0.0 before 10.1.4 contains an address pars…6.5
- CVE-2026-121425Nodemailer from 3.0.0 before 10.1.4 contains a parsing flaw …6.5
- CVE-2026-121426Nodemailer from 3.0.0 before 10.1.4 contains an address pars…6.5
- CVE-2026-121427AzuraCast through 0.23.8 fails to remove frontend_config.cus…7.5
- CVE-2026-121428AzuraCast through 0.23.8 contains a remote code execution vu…8.8
- CVE-2026-121429AzuraCast through 0.23.8 contains a command injection vulner…8.8
- CVE-2026-121430AzuraCast before 0.24.0 contains a missing authorization vul…5.4
- CVE-2026-121431AzuraCast before 0.24.0 contains a server-side request forge…5.3
- CVE-2026-121432AzuraCast before 0.24.0 contains a CRLF injection vulnerabil…3.5
- CVE-2026-121433AzuraCast before 0.24.0 contains a stored CSV formula inject…5.4
- CVE-2026-121434Froxlor 2.3.0 before 2.3.15 contains a missing authorization…5.4
- CVE-2026-121435Froxlor before 2.3.15 contains an authorization bypass vulne…4.3
Are you affected by CVE-2026-12143?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
