CVE-2026-86472fast-uri
Medium 4.8 No auth needed
Follow: this CVE · fast-uri · fast-uri We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 4.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-178
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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 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.
What to do
- Apply the vendor's security update for fast-uri.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | fast-uri |
< 2.4.7 |
2.4.7 |
npm install fast-uri@2.4.7 |
| npm | fast-uri |
≥ 3.0.0 < 3.1.8 |
3.1.8 |
npm install fast-uri@3.1.8 |
| npm | fast-uri |
≥ 4.0.0 < 4.1.5 |
4.1.5 |
npm install fast-uri@4.1.5 |
Per OSV / GitHub Advisories (GHSA-hrr3-gc8f-f4qj). Check the version in your lockfile before upgrading.
Affected products
- fast-uri · fast-uri
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- agama-web-ui-25+475.275dd4727-56.1 on GA media · SUSE · openSUSE-SU-2026:12424-1 · Nov 5, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:71906 · Sep 26, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:71040 · Sep 24, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:68143 · Sep 22, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.