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.
Published: 2026-08-24
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Host confusion leading to policy bypass
Action: Patch Now
AI Analysis

Impact

fast‑uri performs host canonicalization only when a scheme is present. For scheme‑relative references, the host is left unchanged, causing the parser’s various entry points to return divergent host values for the same input. An application that first extracts a host to check against a policy list and then resolves the same reference can make a decision based on one host while the request is delivered to another, enabling a host‑confusion attack and bypassing protection.

Affected Systems

fast‑uri 2.4.2 through 2.4.4, 3.1.3 through 3.1.5, and 4.0.1 through 4.1.2 are affected. The issue was fixed in 2.4.5, 3.1.6, and 4.1.3, which apply consistent host canonicalization across all parsing paths.

Risk and Exploitability

The CVSS score of 7.5 indicates a high potential for damage. EPSS score of 0.247% indicates a low but non-zero exploitation probability, and the vulnerability is not listed in CISA KEV, suggesting a lower current exploitation likelihood. The flaw remains exploitable through crafted scheme‑relative URLs, and an attacker could exploit the mismatch between parse, resolve, normalize, and equal functions to redirect traffic or circumvent host‑based filtering.

Generated by OpenCVE AI on August 28, 2026 at 19:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade fast‑uri to a patched version (2.4.5 or higher, 3.1.6 or higher, or 4.1.3 or higher).
  • Ensure that the application parses URLs using a consistent method that normalizes hostnames, or explicitly prepends a scheme before extraction.
  • Validate the resolved host against the whitelist before proceeding with network operations.

Generated by OpenCVE AI on August 28, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5jgf-p345-68v8 fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
History

Wed, 02 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Openjsf
Openjsf fast-uri
CPEs cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*
Vendors & Products Openjsf
Openjsf fast-uri

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-444
References
Metrics threat_severity

None

threat_severity

Important


Tue, 25 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Fast-uri
Fast-uri fast-uri
Vendors & Products Fast-uri
Fast-uri fast-uri

Mon, 24 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
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.
Title fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
Weaknesses CWE-436
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Fast-uri Fast-uri
Openjsf Fast-uri
cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-08-24T16:28:48.098Z

Reserved: 2026-08-18T15:43:33.460Z

Link: CVE-2026-75931

cve-icon Vulnrichment

Updated: 2026-08-24T16:28:41.325Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-24T10:16:40.113

Modified: 2026-09-02T14:44:52.047

Link: CVE-2026-75931

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-24T09:30:04Z

Links: CVE-2026-75931 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T19:45:03Z

Weaknesses
  • CWE-436

    Interpretation Conflict

  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')