CVE-2026-12590
Last modified
CVE-2026-12590 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Impact: In body-parser versions prior to 1.20.6 (1.x line) and 2.3.0 (2.x line), when the parser is configured with an invalid limit option value such as an unparseable string or NaN, bytes.parse returns null and the request body size check is silently skipped. Applications that rely on limit as their primary safeguard against oversized request bodies will accept arbitrarily large payloads, leading to excessive memory and CPU usage and denial of service.
Description
Impact: In body-parser versions prior to 1.20.6 (1.x line) and 2.3.0 (2.x line), when the parser is configured with an invalid limit option value such as an unparseable string or NaN, bytes.parse returns null and the request body size check is silently skipped. Applications that rely on limit as their primary safeguard against oversized request bodies will accept arbitrarily large payloads, leading to excessive memory and CPU usage and denial of service. Patches: This issue is fixed in body-parser 1.20.6 and 2.3.0. After the fix, invalid limit values throw a clear error at parser construction time instead of silently disabling enforcement, while null and undefined continue to fall back to the default limit of 100kb. Workarounds: Validate the limit value before passing it to body-parser. For example, parse the value at startup and reject any configuration where the result is null or a non-finite number.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openjsf | Body-Parser | < 1.20.6 |
| Openjsf | Body-Parser | >= 2.0.0, < 2.3.0 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
- https://github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-12590?
How severe is CVE-2026-12590?
How do I fix CVE-2026-12590?
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-12582The Library Management System WordPress plugin before 3.5.8 …8.6
- CVE-2026-12583The Newsletters WordPress plugin before 4.15 does not preven…8.1
- CVE-2026-12584The Payment Gateway for Redsys & WooCommerce Lite WordPress …7.5
- CVE-2026-12585The Abandoned Cart Lite for WooCommerce WordPress plugin bef…8.1
- CVE-2026-12586The Lenxel WP WordPress theme through 1.0.31 does not perfor…8.1
- CVE-2026-12588An attacker with access to an HX 10.0.0 and previous versio…6
- CVE-2026-12592The SlimStat Analytics WordPress plugin before 5.5.0 does no…7.5
- CVE-2026-12593The implementation of an internal and undocumented Dashboard…8.7
- CVE-2026-12595The LoginPress Pro plugin for WordPress is vulnerable to Aut…8.1
- CVE-2026-12597The LoginPress Pro plugin for WordPress is vulnerable to Aut…8.1
- CVE-2026-12598The LoginPress Pro plugin for WordPress is vulnerable to aut…8.1
- CVE-2026-1260Invalid memory access in Sentencepiece versions less than 0.…7.8
Are you affected by CVE-2026-12590?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
