{"id":"GHSA-36hh-x5p5-jgc8","revision":null,"records":[{"revision":"b5032bed97184f9ca1a41d87ced5f969","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-44974","aliases":[],"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.","state":0,"publishedAt":"2026-07-17T20:11:44.25+00:00","modifiedAt":"2026-07-21T02:16:04.352+00:00","affected":[{"ecosystem":"Vendor product","name":"content","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"hapijs\",\n                    \"product\": \"content\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 6.0.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":7.7,"severity":"HIGH"}],"references":["https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8","https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44974","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44974","identifiers":["CVE-2026-44974"]},"retained":false,"historicalAffected":[]},{"revision":"17fcc87d352541e2aadd06e75f1c0e69","observedAt":"2026-10-25T10:17:27.754+00:00","statement":{"source":"nvd","id":"CVE-2026-44974","aliases":[],"title":"@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 param…","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.","state":0,"publishedAt":"2026-07-17T20:17:16.727+00:00","modifiedAt":"2026-10-24T20:10:00.137+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":7.7,"severity":"HIGH"}],"references":["https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f","https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-44974","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-436"],"productCriteria":[],"sourceDates":{"published":"2026-07-17T20:17:16.727","lastModified":"2026-10-24T20:10:00.137"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-44974","identifiers":["CVE-2026-44974"]},"retained":false,"historicalAffected":[]},{"revision":"5683f857fc6f4bd1a58c3cbf23a93cdc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-36hh-x5p5-jgc8","aliases":["CVE-2026-44974"],"title":"@hapi/content header parser has a parameter smuggling issue that allows upload-filter bypass via duplicate parameters","description":"### Impact\nThe two parsers resolved duplicates inconsistently and silently:\n- `Content.disposition()` retained the last occurrence of each parameter.\n- `Content.type()` retained the first occurrence of charset and boundary.\n\nEither behavior creates a parameter-smuggling primitive when another component in the request-processing chain (a WAF, reverse proxy, security filter, or alternate parser) resolves duplicates the opposite way. The primary attack vector is upload filename allowlist bypass:\n\n`Content-Disposition: form-data; name=\"file\"; filename=\"safe.txt\"; filename=\"shell.php\"`\n\n### Patches\nThe issue has been patched in 6.0.2.\n\n### Workarounds\nPre or post validate headers looking for duplicates.\n\n### Resources\n- [RFC 6266 §4.1 — Content-Disposition syntax](https://www.rfc-editor.org/rfc/rfc6266#section-4.1)\n- [RFC 7231 §3.1.1.1 — Content-Type syntax](https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1)\n- [RFC 7230 §3.2.6 — token character set](https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6)","state":0,"publishedAt":"2026-05-27T00:37:20+00:00","modifiedAt":"2026-09-10T03:51:04.3353685+00:00","affected":[{"ecosystem":"npm","name":"@hapi/content","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"6.0.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8","https://github.com/hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db8c2f","https://github.com/hapijs/content"],"sourceUrl":"https://github.com/advisories/GHSA-36hh-x5p5-jgc8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-36hh-x5p5-jgc8","identifiers":["GHSA-36hh-x5p5-jgc8","CVE-2026-44974"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-27T11:11:56.6678062+00:00","complete":true,"records":1758,"lastAttemptAt":"2026-10-27T11:11:56.6678062+00:00","lastSuccessAt":"2026-10-27T11:11:56.8243728+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:11:56.8243749+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-187d2b72c94ceb8c4417f1032ec3109a3a3a7b730abadb561d8cdd2a96e04d27-9f7402126dc5529a1b08865d811f13ed8c445867d9a45d41761dcc621011842e","complete":true,"records":414919,"lastAttemptAt":"2026-10-27T11:09:37.0832785+00:00","lastSuccessAt":"2026-10-27T11:09:37.0305451+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:09:37.0832785+00:00","snapshotPublishedAt":"2026-10-27T10:30:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-43321610382942b8ad8c85917eab1546","complete":false,"records":4735,"lastAttemptAt":"2026-10-27T11:12:26.0342942+00:00","lastSuccessAt":"2026-10-24T23:18:49.862+00:00","error":"InvalidDataException","lastVerifiedAt":"2026-10-24T23:18:49.862+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":0,"expectedIdentifiers":13480},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-27T11:11:56.6678062+00:00","complete":true,"records":1093,"lastAttemptAt":"2026-10-27T11:11:56.6678062+00:00","lastSuccessAt":"2026-10-27T11:11:56.8252029+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:11:56.8252036+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c6c2b354cca8400a8af7dee419d3a5e5","complete":false,"records":13419,"lastAttemptAt":"2026-10-27T11:12:23.9234765+00:00","lastSuccessAt":"2026-10-27T11:12:23.919+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:12:23.919+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13477,"expectedIdentifiers":13480},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c3121b113ecd88f1c92ccfa0ec9757ddc8386e4c12afd2597450b815744f800a","complete":true,"records":9779,"lastAttemptAt":"2026-10-27T11:11:51.9998316+00:00","lastSuccessAt":"2026-10-26T15:37:14.3083004+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:11:51.9998316+00:00","snapshotPublishedAt":"2026-10-26T14:48:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-bad5d31e7f6a5e3d338e11d8789069b63620a403f927730769688b42f768e4f6","complete":true,"records":1965,"lastAttemptAt":"2026-10-27T11:09:37.2374562+00:00","lastSuccessAt":"2026-10-26T16:35:43.1460623+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:09:37.2374562+00:00","snapshotPublishedAt":"2026-10-26T16:18:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-112103ad2640f03b274c0e731c3f4398f99b844297f2e68d520aeec5561d6df2","complete":true,"records":2997,"lastAttemptAt":"2026-10-27T11:11:56.6249674+00:00","lastSuccessAt":"2026-10-27T11:11:56.4872351+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:11:56.6249674+00:00","snapshotPublishedAt":"2026-10-27T10:33:05+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-004e8284b6ea6365b51ff4b74ec6be79d1edd4a5cab2e56b5baf5b4428e96986","complete":true,"records":230813,"lastAttemptAt":"2026-10-27T11:11:51.8474073+00:00","lastSuccessAt":"2026-10-27T11:11:50.4927963+00:00","error":null,"lastVerifiedAt":"2026-10-27T11:11:51.8474073+00:00","snapshotPublishedAt":"2026-10-27T11:03:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null}]}