Back to overview

CVE-2026-44974

HIGH
7.7
CVSS 4.0
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.

Metadata

CVE ID
CVE-2026-44974
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-05-08 16:23 UTC
Published
2026-07-17 20:11 UTC
Last updated
2026-07-17 20:11 UTC
Primary CWE
CWE-436
CWE-436: Interpretation Conflict
Vendor / Product
hapijs / content
Sources
cve.org  ·  NVD

Severity & Metrics

7.7 HIGH CVSS 4.0
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
Affected products (1)
VendorProductPlatformVersions
hapijs content < 6.0.2
Weakness (CWE)
CWESourceDescription
CWE-436 cna CWE-436: Interpretation Conflict
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.7 HIGH 4.0 cna 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
References (2)
Back to overview