CVE-2026-44974
CVE-2026-44974 · Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters
This page contains facts from public vulnerability sources. Check the original advisory before updating.
@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.
CVSS 7.7 · High · EPSS 0.5% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
content
- Versions
- < 6.0.2: Affected
No fix published
@hapi/content npm
- Affected ranges
- SEMVER: < 6.0.2
Update to 6.0.2