Description
fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions from 2.4.2 through 2.4.7, from 3.1.3 through 3.1.8, and from 4.0.1 through 4.2.2, for HTTP-family schemes the canonicalizeHost() function passes the parsed host to the WHATWG URL parser and adopts its hostname without checking that the parser consumed the entire input as a host, so the authority can be silently rewritten: data before an at-sign is dropped and tab, carriage-return, and line-feed characters are stripped, with no error reported. An application that enforces host-based policy such as denylists, loopback filtering, redirect validation, or outbound proxy routing on one representation can then see the canonical host diverge from what it checked, allowing traffic to be steered to an unintended destination. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, reject an authority that contains more than one at-sign or any tab, carriage-return, or line-feed before calling fast-uri, or treat any non-empty parse error as fatal and compare hosts only from the same parse result.
Published: 2026-10-20
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Traffic steering via host confusion
Action: Apply Patch
AI Analysis

Impact

fast-uri implements RFC 3986 URI parsing and uses the WHATWG URL parser to canonicalize the host component. In the affected releases, the canonicalizeHost() function accepts the parsed host from the WHATWG parser without verifying that the parser consumed the entire input as a host. This defect silently rewrites the authority: characters preceding an at‑sign are discarded, and tab, carriage‑return, and line‑feed characters are stripped, with no error reported. As a result, authentication or policy decisions that rely on a specific host representation can be subverted, allowing traffic to be steered to an unintended destination. The vulnerability does not provide arbitrary code execution but can compromise the confidentiality and integrity of data by enabling host‑based policy bypass.

Affected Systems

fast-uri is a Node.js library that provides URI parsing. The issue affects the fast-uri npm package in all releases from 2.4.2 to 2.4.7, from 3.1.3 to 3.1.8, and from 4.0.1 to 4.2.2. Applications that depend on any of these versions for request validation, redirect handling, proxy configuration, or loopback protection are vulnerable. The fix is available in version 2.4.8, 3.1.9, and 4.2.3 and later.

Risk and Exploitability

The CVSS v3.1 score is 4.8 (Medium), and the EPSS score is below 1 %, indicating a low likelihood of widespread exploitation. The issue is not listed in CISA’s KEV catalog. Exploitation requires a crafted URL that is processed by the vulnerable implementation; the attack can be carried out by injecting or influencing URL values, resulting in silent host rewriting and traffic steering.

Generated by OpenCVE AI on October 20, 2026 at 17:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade fast-uri to version 2.4.8, 3.1.9, or 4.2.3 or later.
  • If an upgrade is not immediately possible, reject any authority that contains more than one at‑sign or any tab, carriage‑return, or line‑feed before invoking fast-uri, and treat any non‑empty parse error as fatal.
  • Adjust application logic to compare hosts only from the same parse result, ensuring that the canonical host matches the value validated by the application policy.

Generated by OpenCVE AI on October 20, 2026 at 17:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 20:30:00 +0000

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

Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions from 2.4.2 through 2.4.7, from 3.1.3 through 3.1.8, and from 4.0.1 through 4.2.2, for HTTP-family schemes the canonicalizeHost() function passes the parsed host to the WHATWG URL parser and adopts its hostname without checking that the parser consumed the entire input as a host, so the authority can be silently rewritten: data before an at-sign is dropped and tab, carriage-return, and line-feed characters are stripped, with no error reported. An application that enforces host-based policy such as denylists, loopback filtering, redirect validation, or outbound proxy routing on one representation can then see the canonical host diverge from what it checked, allowing traffic to be steered to an unintended destination. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, reject an authority that contains more than one at-sign or any tab, carriage-return, or line-feed before calling fast-uri, or treat any non-empty parse error as fatal and compare hosts only from the same parse result.
Title fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization
Weaknesses CWE-1286
CWE-20
CWE-436
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Subscriptions

Fast-uri Fast-uri
cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-10-20T16:06:48.503Z

Reserved: 2026-10-13T17:13:53.507Z

Link: CVE-2026-110180

cve-icon Vulnrichment

Updated: 2026-10-20T16:06:39.905Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T07:17:08.687

Modified: 2026-10-20T20:06:37.150

Link: CVE-2026-110180

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-20T07:00:42Z

Links: CVE-2026-110180 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T20:15:06Z

Weaknesses
  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

  • CWE-20

    Improper Input Validation

  • CWE-436

    Interpretation Conflict