{"answers":{"affected":"4 open source packages ship an affected version, including body-parser. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-12590 in the wild and no public exploit code.","fix":"Upgrade body-parser to a fixed version for your release line: 1.20.6 or 2.3.0.","what":"CVE-2026-12590 is a low-severity denial of service vulnerability in body-parser, published on 9 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-12590 and fix it if it is affected.\n\nWhat it is: CVE-2026-12590 is a low-severity denial of service vulnerability in body-parser, published on 9 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-12590 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- body-parser (npm): affected all versions; fixed in 1.20.6\n- body-parser (npm): affected all versions; fixed in 1.20.6\n- body-parser (npm): affected from 2.0.0; fixed in 2.3.0\n- body-parser (npm): affected from 2.0.0; fixed in 2.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12590/ (Markdown: https://insights.sbomify.com/CVE-2026-12590/index.md)","id":"CVE-2026-12590","markdown":"https://insights.sbomify.com/CVE-2026-12590/index.md","name":"CVE-2026-12590","record":{"aliases":["CLEANSTART-2026-LL95824","CLEANSTART-2026-NW68824","CLEANSTART-2026-VN12765","CLSA-2026-1784596302","CLSA-2026-1787151610","CLSA-2026-1787151617","CLSA-2026-1787151664","CLSA-2026-1787151794","CLSA-2026-1787256348","CLSA-2026-1787256578","CLSA-2026-1790520930","CLSA-2026-1790541942","CLSA-2026-1790544295","CLSA-2026-1792476566","DEBIAN-CVE-2026-12590","ECHO-3694-8cb9-895a","GHSA-v422-hmwv-36x6","MINI-3v3f-38v7-2656","MINI-4c52-hh36-hwxr","MINI-55ww-jjjj-98q7","MINI-562m-r57q-wfmr","MINI-65p2-96mq-x2mg","MINI-72f3-254f-5x29","MINI-78fj-q6wf-v6rv","MINI-7j3c-hvjw-7v59","MINI-7q63-cj62-2344","MINI-838j-929g-v996","MINI-94hv-fpcr-q23p","MINI-95mp-8658-82cj","MINI-9gfr-9rrw-5373","MINI-f9xc-pm76-v87g","MINI-ffmf-7f46-cf22","MINI-gxwq-543h-39cf","MINI-m28j-whg8-4hxc","MINI-m2fp-rw3g-v654","MINI-qvfp-qghc-8gq4","MINI-rq8q-69m6-m2vq","MINI-v3fg-6263-qh2c","MINI-x4j2-j4q5-q7x8","MINI-xvwh-gj88-4h6p","ROOT-APP-NPM-CVE-2026-12590","UBUNTU-CVE-2026-12590"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js body parser","requires_auth":"none","summary":"An attacker can cause denial of service by sending oversized payloads if the body-parser limit is misconfigured with an invalid value, bypassing size checks.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"body-parser","vendor":"openjsf"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement","id":"CVE-2026-12590","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"SlimStat Analytics \u003c 5.5.0 - Unauthenticated Stored XSS via CF-IPCountry Header","id":"CVE-2026-12592"},"packages":[{"ecosystem":"npm","fixed":["1.20.6"],"introduced":["0"],"last_affected":[],"package":"body-parser","purl":null,"source":"GHSA-v422-hmwv-36x6"},{"ecosystem":"npm","fixed":["1.20.6"],"introduced":["0"],"last_affected":[],"package":"body-parser","purl":"pkg:npm/body-parser","source":"GHSA-v422-hmwv-36x6"},{"ecosystem":"npm","fixed":["2.3.0"],"introduced":["2.0.0"],"last_affected":[],"package":"body-parser","purl":null,"source":"GHSA-v422-hmwv-36x6"},{"ecosystem":"npm","fixed":["2.3.0"],"introduced":["2.0.0"],"last_affected":[],"package":"body-parser","purl":"pkg:npm/body-parser","source":"GHSA-v422-hmwv-36x6"}],"prev":{"headline":"Denial of service in Trellix HX Console","id":"CVE-2026-12588"},"products":["body-parser"],"published":"2026-07-09","related":[{"cvss_score":7.5,"headline":"body-parser vulnerable to denial of service when url encoding is enabled","id":"CVE-2024-45590","kev_date_added":null,"published":"2024-09-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["body-parser"]},"summary":"An attacker can cause denial of service by sending oversized payloads if the body-parser limit is misconfigured with an invalid value, bypassing size checks.","url":"https://insights.sbomify.com/CVE-2026-12590/"}