{"answers":{"affected":"2 open source packages ship an affected version, including multer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-3304 in the wild and no public exploit code.","fix":"Upgrade multer to 2.1.0 or later.","what":"CVE-2026-3304 is a high-severity denial of service vulnerability in expressjs multer, published on 27 Feb 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-3304 and fix it if it is affected.\n\nWhat it is: CVE-2026-3304 is a high-severity denial of service vulnerability in expressjs multer, published on 27 Feb 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-3304 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- multer (npm): affected all versions; fixed in 2.1.0\n- multer (npm): affected all versions; fixed in 2.1.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-3304/ (Markdown: https://insights.sbomify.com/CVE-2026-3304/index.md)","id":"CVE-2026-3304","markdown":"https://insights.sbomify.com/CVE-2026-3304/index.md","name":"CVE-2026-3304","record":{"aliases":["ECHO-bc0b-e88f-36d2","GHSA-xf7r-hgr6-v32p","MINI-mm7g-v3v3-929g","ROOT-APP-NPM-CVE-2026-3304"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js multipart middleware","requires_auth":"none","summary":"An attacker can cause resource exhaustion and denial of service in applications using Multer by sending malformed multipart requests.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"multer","vendor":"expressjs"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"}],"description":"Multer is a node.js middleware for handling `multipart/form-data`. A vulnerability in Multer prior to version 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing resource exhaustion. Users should upgrade to version 2.1.0 to receive a patch. No known workarounds are available.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-03-06","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-03-06T08:37:01Z","kind":"github_poc","ref":"https://github.com/Mkway/CVE-2026-3304","stars":0,"title":"Reproduction lab for CVE-2026-3304 — async fileFilter race condition in Multer causes disk exhaustion via orphaned temp files"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Multer vulnerable to Denial of Service via incomplete cleanup","id":"CVE-2026-3304","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Missing authorization in Enterprise Server","id":"CVE-2026-3306"},"packages":[{"ecosystem":"npm","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"multer","purl":null,"source":"GHSA-xf7r-hgr6-v32p"},{"ecosystem":"npm","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"multer","purl":"pkg:npm/multer","source":"GHSA-xf7r-hgr6-v32p"}],"prev":{"headline":"IBM Concert Software Permissive Cross-domain Security Policy","id":"CVE-2026-3303"},"products":["multer"],"published":"2026-02-27","related":[{"cvss_score":8.7,"headline":"Multer vulnerable to Denial of Service via uncontrolled recursion","id":"CVE-2026-3520","kev_date_added":null,"published":"2026-03-04"},{"cvss_score":8.7,"headline":"Multer vulnerable to Denial of Service via resource exhaustion","id":"CVE-2026-2359","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":7.5,"headline":"multer vulnerable to Denial of Service via file descriptor leak on aborted uploads","id":"CVE-2026-77037","kev_date_added":null,"published":"2026-08-28"},{"cvss_score":7.5,"headline":"multer vulnerable to Denial of Service via crafted multipart field names","id":"CVE-2026-77078","kev_date_added":null,"published":"2026-08-28"},{"cvss_score":7.5,"headline":"multer vulnerable to Denial of Service via oversized array index in field names","id":"CVE-2026-82333","kev_date_added":null,"published":"2026-08-28"},{"cvss_score":7.5,"headline":"multer vulnerable to Denial of Service via deeply nested field names","id":"CVE-2026-5079","kev_date_added":null,"published":"2026-06-15"}],"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-07-15","vendors":["expressjs"]},"summary":"An attacker can cause resource exhaustion and denial of service in applications using Multer by sending malformed multipart requests.","url":"https://insights.sbomify.com/CVE-2026-3304/"}