Vulnerability details

CVE-2026-44974

hapijs content

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

CVSS 4.0
7.7High

Official 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 scores

ScoreVersionSourceVector
7.7High 4.0 CVEProject cvelistV5 (CNA) (GitHub_M) 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

VendorProductVersionsSource
hapijs content < 6.0.2 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-07-17
Last updated
2026-07-21
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.47%
Probability of exploitation in 30 days
41%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-436
    Interpretation Conflict