{"id":"CVE-2026-44974","state":"PUBLISHED","title":"Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters","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.","publishedAt":"2026-07-17T20:11:44.250Z","updatedAt":"2026-07-21T02:16:04.352Z","severity":{"score":7.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["hapijs content"],"affected":[{"vendor":"hapijs","product":"content","versions":[{"version":"< 6.0.2","status":"affected"}]}],"references":["https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8","https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f"],"weaknesses":["CWE-436"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44974.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44974","state":"PUBLISHED","datePublished":"2026-07-17T20:11:44.250Z","dateUpdated":"2026-07-21T02:16:04.352Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-08T16:23:33.263Z"},"containers":{"cna":{"title":"Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters","descriptions":[{"lang":"en","value":"@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."}],"affected":[{"vendor":"hapijs","product":"content","versions":[{"version":"< 6.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8","name":"https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f","name":"https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","lang":"en","description":"CWE-436: Interpretation Conflict","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-17T20:11:44.250Z"},"source":{"advisory":"GHSA-36hh-x5p5-jgc8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-21T02:14:35.542197Z","id":"CVE-2026-44974","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-21T02:16:04.352Z"}}]}}}