Vulnerability

CVE-2026-44974

highCVSS 4.0 7.7Published 17 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /hapijs/content/commit/3850079550c191d25e3643dc82a6d61144db…
  • github.com /hapijs/content/security/advisories/GHSA-36hh-x5p5-jgc8

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning