Description
fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.
Published: 2026-07-31
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

fast‑uri prior to 4.1.2, 3.1.5, and 2.4.4 parses URI authority only when a literal double forward slash is present. A backslash‑based introducer causes the parser to ignore the authority part and treat the string as a path. Node's native WHATWG URL parser treats backslashes as forward slashes for special schemes, extracting a host where fast‑uri does not. Applications that enforce host‑based rules with fast‑uri before passing the same URL to Node or fetch can therefore be tricked into reaching an unintended host, enabling SSRF or redirect bypass.

Affected Systems

The issue affects any use of the fast‑uri library before the specified releases. Versions earlier than 4.1.2, 3.1.5, or 2.4.4 are vulnerable. Applications that import fast‑uri for URL validation, authority extraction, or whitelist enforcement are impacted.

Risk and Exploitability

The CVSS score of 7.5 denotes moderate to high severity, while the EPSS of less than 1% suggests a low current exploitation probability; the vulnerability is not listed in the CISA KEV catalog. Despite the low EPSS, the attack vector is straightforward: an attacker who can influence input URLs can craft a backslash‑based authority introducer that the application accepts as valid and then redirects or SSRF to an unintended host. The risk is therefore primarily dependent on the existence of the vulnerable library and on the application's reliance on fast‑uri for host decisions.

Generated by OpenCVE AI on August 4, 2026 at 22:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade fast‑uri to the version that contains the fix (4.1.2, 3.1.5, or 2.4.4) as soon as possible
  • Review all host validation logic that follows fast‑uri processing; ensure that backslash variations are handled consistently or that a single, trusted parser such as Node's WHATWG URL is used for both validation and outbound requests
  • Validate that all endpoints accepting URLs are resistant to SSRF and redirect attacks by submitting backslash‑based tests after applying the update

Generated by OpenCVE AI on August 4, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7p8r-x3mc-p8w7 fast-uri vulnerable to host confusion via backslash authority introducer
History

Tue, 04 Aug 2026 12:15:00 +0000

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

None

threat_severity

Important


Fri, 31 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 31 Jul 2026 15: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

Fri, 31 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.
Title fast-uri vulnerable to host confusion via backslash authority introducer
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
cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-07-31T17:47:35.325Z

Reserved: 2026-07-30T22:28:08.097Z

Link: CVE-2026-18446

cve-icon Vulnrichment

Updated: 2026-07-31T17:47:30.658Z

cve-icon NVD

Status : Received

Published: 2026-07-31T15:16:27.983

Modified: 2026-07-31T18:17:13.383

Link: CVE-2026-18446

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-31T14:37:01Z

Links: CVE-2026-18446 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:45:03Z

Weaknesses
  • CWE-1289

    Improper Validation of Unsafe Equivalence in Input

  • CWE-436

    Interpretation Conflict