{"id":"CVE-2026-44974","published":"2026-07-17T20:11:44Z","modified":"2026-07-21T02:16:04Z","title":"Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters","vendor":"hapijs","product":"content","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00472,"percentile":0.41721,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.34},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"hapijs","affectedVersions":[{"vendor":"hapijs","product":"content","versions":["< 6.0.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-21T02:14:35.542197Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@hapi/content","vulnerableRanges":["<6.0.2"],"patched":["6.0.2"],"from":["GHSA-36hh-x5p5-jgc8"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-45313","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hapijs-content-cve-2026-35213","children":[{"from":"CVE-2026-44974","to":"CVE-2026-119202","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hapi/content","fromFixed":"6.0.2","toFixed":"6.0.3","daysApart":104},{"kind":"same-code","provenance":"machine","files":["lib/index.js"],"commits":["https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f"],"basis":"rarely changed file"}]},{"from":"CVE-2026-44974","to":"CVE-2026-115728","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/index.js"],"commits":["https://github.com/hapijs/content/commit/0993851dc7234976a3fce3a7c31662b213c940fd","https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-35213","published":"2026-04-06","fixed":"6.0.1","kev":false,"link":{"from":"CVE-2026-35213","to":"CVE-2026-44974","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hapi/content","fromFixed":"6.0.1","toFixed":"6.0.2","daysApart":102}]}},{"cve":"CVE-2026-44974","published":"2026-07-17","fixed":"6.0.2","kev":false},{"cve":"CVE-2026-119202","published":"2026-10-29","fixed":"6.0.3","kev":false}],"package":"npm:@hapi/content"}}