← Back to CVE search

CVE-2026-44974

@hapi/content

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.

CVSS 7.7EPSS 0.344%Risk 0.79
View source
Published
2026-07-17 20:17:16
Affected versions
<6.0.2
Type
Library
Last modified
2026-07-23 16:10:54
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