{"id":"CVE-2026-44974","summary":"Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters","details":"@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.","aliases":["GHSA-36hh-x5p5-jgc8"],"modified":"2026-07-22T05:30:12.180837931Z","published":"2026-07-17T20:11:44.250Z","related":["CGA-8x5v-p7qm-7xrq"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-436"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44974.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44974.json"},{"type":"ADVISORY","url":"https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44974"},{"type":"FIX","url":"https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hapijs/content","events":[{"introduced":"0"},{"fixed":"3850079550c191d25e3643dc82a6d61144db8c2f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"6.0.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v6.0.1","v6.0.0","v5.0.2","v4.1.0","v5.0.1","v5.0.0","v4.0.6","v4.0.5","v4.0.4","v3.0.6","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.0.0","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44974.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}