CVE-2026-44974

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
Product@hapi/content
PublishedJul 17, 2026
First seenJul 17, 2026
Weakness typeCWE-436CWE-436

How to fix

Update
  • @hapi/content6.0.2 or later

Affected products

ProductAffected versionsFixed in
@hapi/contentnpmv < 6.0.26.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.