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
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-125879Incorrect privilege assignment vulnerability in N-able N-cen…8.6
- CVE-2026-12588An attacker with access to an HX 10.0.0 and previous versio…6
- CVE-2026-125880Improper neutralization of HTTP headers for scripting syntax…8.3
- CVE-2026-125881Server-Side request forgery (SSRF) vulnerability in N-able N…9.3
- CVE-2026-125882Relative path traversal vulnerability in N-able N-central al…8.6
- CVE-2026-125883Improper restriction of XML external entity reference vulner…9.3
- CVE-2026-12591Zohocorp ManageEngine M365 Manager Plus versions below 4818 …9.9
- CVE-2026-125912The WP Ultimate CSV Importer WordPress plugin before 9.2 do…
- CVE-2026-12592The SlimStat Analytics WordPress plugin before 5.5.0 does no…7.5
- CVE-2026-125926Server-side request forgery (SSRF) in the server registratio…8.5
- CVE-2026-12593The implementation of an internal and undocumented Dashboard…8.7
- CVE-2026-125948The Recipe Card Blocks Lite plugin for WordPress is vulnerab…6.4
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
