CVE-2026-12590
Reported by openjs · Published July 9, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| body-parser | body-parser | 0, 1.20.6, 2.0.0 |
| chainguard | kubescape-grype-offline-db | 0, 0, 0 |
| chainguard | opensearch-dashboards-2 | 0, 0, 0 |
| wolfi | kubeflow-centraldashboard | 0, 0, 0 |
| wolfi | argo-workflows-3.7 | 0, 0, 0 |
| chainguard | arangodb-3.11 | 0, 0, 0 |
| chainguard | wazuh-dashboard | 0, 0, 0 |
| chainguard | json-server | 0, 0, 0 |
| chainguard | kibana-9.4 | 0, 0, 0 |
| chainguard | azurite | 0, 0, 0 |
| chainguard | code-server | 0, 0, 0 |
| chainguard | arangodb-3.12 | 0 |
| chainguard | sqlpad | 0, 0, 0 |
| chainguard | thingsboard-fips | 0, 0, 0 |
| chainguard | argo-workflows-3.7 | 0, 0, 0 |
| chainguard | gitlab-rails-ce-fips-19.3 | 0 |
| chainguard | pelias-api | 0, 0, 0 |
| chainguard | gitlab-rails-ce-fips-19.1 | 0 |
| chainguard | langfuse-fips-2 | 0, 0, 0 |
| chainguard | redisinsight | 0, 0, 0 |
…and 29 more
Timeline
- Jul 9, 2026 CVE Published
- Jul 9, 2026 CVE Updated
- Jul 11, 2026 Coalition ESS Score
- Aug 7, 2026 EPSS Score
- Aug 13, 2026 Security Advisory
- Aug 24, 2026 EPSS Score
- Aug 26, 2026 EPSS Score
- Aug 30, 2026 EPSS Score
- Sep 3, 2026 EPSS Score
- Sep 6, 2026 EPSS Score
- Sep 9, 2026 EPSS Score
- Sep 12, 2026 EPSS Score
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-12590 advisory
- https://github.com/advisories/GHSA-v422-hmwv-36x6 advisory
- https://github.com/expressjs/body-parser/pull/698 fix
- https://github.com/expressjs/body-parser/pull/741 fix
- https://github.com/expressjs/body-parser/commit/2322e111cc321413ec2b7b76d01be533d3de9d7d fix
- https://github.com/expressjs/body-parser/commit/3492672eee593d5c158f239b6e9115498a5dbeac fix
- https://github.com/expressjs/body-parser/releases/tag/1.20.6 fix
- https://github.com/expressjs/body-parser/releases/tag/v2.3.0 fix