CVE-2026-44974 HIGH

CVE-2026-44974: Parameter smuggling in @hapi/content header parser allows upload-filter bypass via duplicate parameters

Vendor Hapijs
Product content
Weakness CWE-436
Published July 17, 2026
Last update July 21, 2026

CVSS base score

7.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

@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.

Key dates

02Disclosure timeline

July 17, 2026 CVE published
July 21, 2026 Record updated