{"id":"CVE-2026-86472","title":"fast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv","summary":"fast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv. In versions before 2.4.7, from 3.0.0 through 3.1.7, and from 4.0.0 through 4.1.4, fast-uri folds the host to lowercase before it percent-decodes the …","severity":"medium","cvss":4.8,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","cwe":["CWE-178"],"vendor":"fast-uri","product":"fast-uri","affected":["fast-uri < 2.4.7","fast-uri >= 3.0.0 < 3.1.8","fast-uri >= 4.0.0 < 4.1.5"],"published":"2026-09-15","updated":"2026-09-16","sourceUpdated":"2026-09-16T19:40:00.317","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-86472","references":[{"url":"https://cna.openjsf.org/security-advisories.html","label":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-hrr3-gc8f-f4qj","label":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86472.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-86472"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2533679"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-86472"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86472"},{"url":"https://access.redhat.com/errata/RHSA-2026:68143"},{"url":"https://access.redhat.com/errata/RHSA-2026:71040"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T12:35:19.770627Z"},"ingestedAt":"2026-09-15T10:35:28.517Z","epss":0.00161,"epssPercentile":0.05669,"patched":["hardened_images"],"slug":"CVE-2026-86472","body":"## Overview\n\nfast-uri is a dependency-free RFC 3986 URI parser for Node.js, used by Fastify and ajv. In versions before 2.4.7, from 3.0.0 through 3.1.7, and from 4.0.0 through 4.1.4, fast-uri folds the host to lowercase before it percent-decodes the host, so a percent-encoded uppercase octet such as %41 decodes to a literal A that is never folded. For a scheme-relative reference such as //host there is no scheme, so the host canonicalization that would normally repair this does not run, and parse, normalize, and equal then disagree on the same host. An application that makes a case-sensitive host decision on fast-uri output, for example a host allowlist or denylist that compares the parsed host or uses equal, can be steered past the check with a percent-encoded uppercase octet, and because hostnames are case-insensitive in DNS and HTTP the evading spelling still reaches the host the check meant to gate. The issue is fixed in fast-uri 2.4.7, 3.1.8, and 4.1.5, and users should upgrade to one of those versions or later. As a workaround, compare hosts case-insensitively by lowercasing the parsed host before any allowlist or denylist decision.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Cost Management On Premise, Migration Toolkit for Applications 8, Migration Toolkit for Containers, Multicluster Engine for Kubernetes, Network Observability Operator, OpenShift Lightspeed, … · no fix planned: Red Hat Ansible Automation Platform 2, Red Hat build of Apicurio Registry 3, Red Hat Directory Server 11, Red Hat Directory Server 12, … · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86472.json)\n- **RHSA-2026:68143** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68143)\n- **RHSA-2026:71040** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:71040)","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":26.4,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}