{"answers":{"affected":"2 open source packages ship an affected version, including @hapi/content.","exploited":"There is no known exploitation of CVE-2026-44974 in the wild and no public exploit code.","fix":"Upgrade @hapi/content to 6.0.2 or later.","what":"CVE-2026-44974 is a high-severity vulnerability in hapijs content, published on 17 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-44974 and fix it if it is affected.\n\nWhat it is: CVE-2026-44974 is a high-severity vulnerability in hapijs content, published on 17 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-44974 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @hapi/content (npm): affected all versions; fixed in 6.0.2\n- @hapi/content (npm): affected all versions; fixed in 6.0.2\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-44974/ (Markdown: https://insights.sbomify.com/CVE-2026-44974/index.md)","id":"CVE-2026-44974","markdown":"https://insights.sbomify.com/CVE-2026-44974/index.md","name":"CVE-2026-44974","record":{"aliases":["ECHO-366e-1401-9fd9","GHSA-36hh-x5p5-jgc8","MINI-2w83-5fqj-34jw","MINI-4r9w-7qh8-v7gh","MINI-79c9-fgvc-8q3m","MINI-8mp8-2ccg-jxvg","MINI-hc8f-5xg3-x5g2","MINI-hq48-qvv2-694f","MINI-hx22-jpph-q58v","MINI-j9f7-4vfv-wjm9","MINI-p2gv-352x-93f6","MINI-p3mj-3qp6-jj27","MINI-pf3v-5q6r-j3h3","MINI-q5r5-72p5-jfp2","MINI-vh79-hmf3-hhqg","MINI-vvgx-c5fw-h623","ROOT-APP-NPM-CVE-2026-44974"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP parser","requires_auth":"none","summary":"Attackers can bypass upload filename allowlists by exploiting inconsistent duplicate parameter handling in HTTP header parsing, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N","version":"4.0"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"description":"@hapi/content provided HTTP Content-* headers parsing. Prior to 6.0.2, Content.disposition() retained the last occurrence of each duplicate parameter while Content.type() retained the first occurrence of duplicate charset and boundary parameters, creating a parameter-smuggling primitive when another component in the request-processing chain resolves duplicates the opposite way. This can allow an upload filename allowlist bypass in headers such as Content-Disposition: form-data; name=\"file\"; filename=\"safe.txt\"; filename=\"shell.php\". This issue is fixed in version 6.0.2.","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":"Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters","id":"CVE-2026-44974","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Frappe: Missing authorization on reset form tours","id":"CVE-2026-44975"},"packages":[{"ecosystem":"npm","fixed":["6.0.2"],"introduced":["0"],"last_affected":[],"package":"@hapi/content","purl":null,"source":"GHSA-36hh-x5p5-jgc8"},{"ecosystem":"npm","fixed":["6.0.2"],"introduced":["0"],"last_affected":[],"package":"@hapi/content","purl":"pkg:npm/%40hapi/content","source":"GHSA-36hh-x5p5-jgc8"}],"prev":{"headline":"Billy: Path traversal vulnerabilities","id":"CVE-2026-44973"},"products":["content"],"published":"2026-07-17","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["hapijs"]},"summary":"Attackers can bypass upload filename allowlists by exploiting inconsistent duplicate parameter handling in HTTP header parsing, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2026-44974/"}