{"answers":{"affected":"2 open source packages ship an affected version, including multiparty. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-8161 in the wild and no public exploit code.","fix":"Upgrade multiparty to 4.3.0 or later.","what":"CVE-2026-8161 is a high-severity denial of service vulnerability in multiparty, published on 12 May 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-8161 and fix it if it is affected.\n\nWhat it is: CVE-2026-8161 is a high-severity denial of service vulnerability in multiparty, published on 12 May 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-8161 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- multiparty (npm): affected all versions; fixed in 4.3.0\n- multiparty (npm): affected all versions; fixed in 4.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-8161/ (Markdown: https://insights.sbomify.com/CVE-2026-8161/index.md)","id":"CVE-2026-8161","markdown":"https://insights.sbomify.com/CVE-2026-8161/index.md","name":"CVE-2026-8161","record":{"aliases":["DEBIAN-CVE-2026-8161","GHSA-qxch-whhj-8956","ROOT-APP-NPM-CVE-2026-8161","UBUNTU-CVE-2026-8161"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js multipart parser","requires_auth":"none","summary":"An attacker can crash the application by sending a crafted multipart request that triggers a prototype pollution-induced uncaught exception.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"multiparty","vendor":"pillarjs"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property such as __proto__, constructor, or toString, the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the process. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: none. Upgrade to multiparty@4.3.0 or higher.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-05-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-11T19:55:29Z","kind":"github_poc","ref":"https://github.com/Ser0n-ath/multiparty-CVE-2026-8161","stars":0,"title":"Proof of concept of CVE-2026-8161 (Multiparty)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"multiparty vulnerable to Denial of Service via Prototype Pollution leading to Uncaught Exception","id":"CVE-2026-8161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing","id":"CVE-2026-8162"},"packages":[{"ecosystem":"npm","fixed":["4.3.0"],"introduced":["0"],"last_affected":[],"package":"multiparty","purl":null,"source":"GHSA-qxch-whhj-8956"},{"ecosystem":"npm","fixed":["4.3.0"],"introduced":["0"],"last_affected":[],"package":"multiparty","purl":"pkg:npm/multiparty","source":"GHSA-qxch-whhj-8956"}],"prev":{"headline":"multiparty vulnerable to ReDoS via filename parsing","id":"CVE-2026-8159"},"products":["multiparty"],"published":"2026-05-12","related":[{"cvss_score":7.5,"headline":"multiparty vulnerable to ReDoS via filename parsing","id":"CVE-2026-8159","kev_date_added":null,"published":"2026-05-12"},{"cvss_score":7.5,"headline":"multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing","id":"CVE-2026-8162","kev_date_added":null,"published":"2026-05-12"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["multiparty"]},"summary":"An attacker can crash the application by sending a crafted multipart request that triggers a prototype pollution-induced uncaught exception.","url":"https://insights.sbomify.com/CVE-2026-8161/"}