CVE-2026-86472
published medium CVSS 3.1 · 4.8fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fast-uri | — | fast-uri0 to < 2.4.7 (affected · semver) · 2.4.7 (unaffected · semver) · 3.0.0 to < 3.1.8 (affected · semver) · 3.1.8 (unaffected · semver) · 4.0.0 to < 4.1.5 (affected · semver) · 4.1.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uiaarch64 | Advisory build | 25+475.275dd4727-56.1 | OPENSUSE-SU-2026:12424-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uippc64le | Advisory build | 25+475.275dd4727-56.1 | OPENSUSE-SU-2026:12424-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uis390x | Advisory build | 25+475.275dd4727-56.1 | OPENSUSE-SU-2026:12424-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uix86_64 | Advisory build | 25+475.275dd4727-56.1 | OPENSUSE-SU-2026:12424-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fast-uri | fast-uri | 0 to < 2.4.7 (affected · semver)2.4.7 (unaffected · semver)3.0.0 to < 3.1.8 (affected · semver)3.1.8 (unaffected · semver)4.0.0 to < 4.1.5 (affected · semver)4.1.5 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-178 CWE-178: Improper Handling of Case Sensitivity
References
2Provider assertions
2openjs · cna
fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ef3c4c164db27306e47c772ace741cb0401cd3d3687dac93f2b3277ae128e66
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record