CVE-2026-75931
published high CVSS 3.1 · 7.5fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fast-uri | — | fast-uri2.4.2 to < 2.4.5 (affected · semver) · 2.4.5 (unaffected · semver) · 3.1.3 to < 3.1.6 (affected · semver) · 3.1.6 (unaffected · semver) · 4.0.1 to < 4.1.3 (affected · semver) · 4.1.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
fast-uri is a URI parser for Node.js. It canonicalizes a host to its ASCII form only when the input carries an explicit scheme, so a scheme-relative reference such as a host preceded by two slashes is returned with its host verbatim and no error set. As a result fast-uri's own entry points disagree with each other: parse, resolve, normalize, and equal can yield different hosts for the same input depending only on whether a scheme is written out, and equal can return opposite verdicts for the same pair of hosts. An application that extracts a host with fast-uri to check it against a policy list and then resolves the same reference can make its decision on one host while the destination is another, enabling host confusion and policy bypass. The affected versions are 2.4.2 up to but not including 2.4.5, 3.1.3 up to but not including 3.1.6, and 4.0.1 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which canonicalize the host consistently across the resolve path. Users should upgrade to a patched version.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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 | 2.4.2 to < 2.4.5 (affected · semver)2.4.5 (unaffected · semver)3.1.3 to < 3.1.6 (affected · semver)3.1.6 (unaffected · semver)4.0.1 to < 4.1.3 (affected · semver)4.1.3 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-436 CWE-436: Interpretation Conflict
References
2Provider assertions
2openjs · cna
fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8b8c1189c0a81633810c50b874ba313293c0d2ca234d679b91277e8d1d001b65
- Ingested
- 23 Sep 2026, 09:31:51 UTC
- Source record
- Official CVE record