Skip to main content

fast-uri CVE-2026-75931

| EUVDEUVD-2026-64758 HIGH
Interpretation Conflict (CWE-436)
2026-08-24 openjs GHSA-5jgf-p345-68v8
7.5
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit scheme-relative URI with non-ASCII host
  2. Delivery
    fast-uri parse returns verbatim (non-canonical) host
  3. Exploit
    host string passes policy allowlist check
  4. Execution
    fast-uri resolve canonicalizes host to ASCII/Punycode form
  5. Persist
    Application dispatches request to unintended host
  6. Impact
    Security policy bypassed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
Exploitation Conditions

The vulnerability requires two specific conditions to be simultaneously true in the target application. First, the application must accept scheme-relative URI input from an untrusted source (a URI beginning with '//' and lacking an explicit scheme such as 'https://'). Second, the application must use fast-uri's parse, normalize, or equal functions to extract the host for a security policy check (e.g., SSRF allowlist, redirect target validation, OAuth redirect URI comparison) AND separately use fast-uri's resolve function to perform the actual URI resolution - allowing the mismatched host values to straddle a policy boundary. Exploitation is limited by the requirement for this two-step validate-then-resolve pattern with fast-uri; applications that use a single call, that pre-normalize input to always include a scheme, or that do not perform host-based policy checks are not exploitable. The CVSS vector confirms no authentication (PR:N) is required from the attacker's side, but the application-level pattern dependency is a meaningful structural constraint.

Impact

The NVD-assigned CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N scores 7.5 (High). The network attack vector and absence of privilege or interaction requirements reflect that an attacker needs only to supply a crafted scheme-relative URI to a vulnerable application endpoint. The integrity impact is rated High because a successful policy bypass could allow requests to reach internal hosts, bypass SSRF protections, or circumvent allowlists - consequences that are application-context-dependent but potentially severe. However, the actual exploitability is substantially constrained by the required application pattern: the target application must use fast-uri for both host extraction (for policy enforcement) and URI resolution in a way that allows the two mismatching values to diverge across a security boundary. Applications that validate and resolve URIs entirely client-side with no policy gating, or that do not accept scheme-relative input from untrusted sources, are not practically affected. No KEV listing and no known POC further reduce the immediate operational priority, though the vulnerability class (URI parsing bypass) is historically well-exploited in SSRF and redirect-bypass chains. The overall risk is medium in practice for most deployments, but High for any Node.js/Fastify application that uses fast-uri in a two-step validate-then-resolve pattern with untrusted URI input.

Exploit ScenarioDerived

An attacker targeting a Node.js application that uses fast-uri for SSRF protection submits a request containing a scheme-relative URI such as //внутренний.corp/admin (an internationalized hostname). The application's allowlist check calls fast-uri's parse, which returns the Cyrillic hostname verbatim and matches a permitted pattern. When the application subsequently calls fast-uri's resolve to construct the outbound request, the library canonicalizes the host to its Punycode form, dispatching the request to a different host - one that should have been blocked - completing the policy bypass without triggering any validation error.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

Host confusion in fast-uri, a Node.js URI parser in the Fastify ecosystem, allows policy bypass by exploiting inconsistent host canonicalization between the library's own entry points. When a scheme-relative reference (e.g., //unicode-host.example/path) is passed without an explicit scheme, fast-uri's parse, normalize, and equal functions return the host verbatim, while resolve canonicalizes it to ASCII/Punycode - meaning the same input yields different host values depending on which API is called. An application that extracts a host for an allowlist check via one code path and then resolves the URI via another can be tricked into approving one host while the actual request is dispatched to a different one. No public exploit exists and CISA KEV listing is absent, but the EPSS-independent integrity impact (CVSS I:H) is real in applications relying on fast-uri for security-critical URI validation. Fixed versions are 2.4.5, 3.1.6, and 4.1.3.

RemediationAI

Vendor-released patches are available: upgrade fast-uri to version 2.4.5, 3.1.6, or 4.1.3 depending on the currently installed major/minor branch. These releases canonicalize the host consistently across the resolve path, eliminating the inconsistency. Upgrade instructions and release notes are in the GitHub Security Advisory at https://github.com/fastify/fast-uri/security/advisories/GHSA-5jgf-p345-68v8. If immediate upgrade is not feasible, a compensating control is to reject scheme-relative URIs (those beginning with '//' but lacking an explicit scheme) at the application's input boundary before they reach fast-uri, using an explicit scheme-presence check. This workaround prevents the triggering input class from entering the library but may break legitimate use cases if scheme-relative references are intentionally supported. A second compensating control is to normalize all incoming URIs to include an explicit scheme before passing them to fast-uri, ensuring the canonicalization code path is always exercised. Neither workaround eliminates the underlying bug and both require application-layer code changes; patching is strongly preferred.

Affected VersionsENISA

fast-uri 3.1.3 <3.1.6
fast-uri 4.0.1 <4.1.3
fast-uri 2.4.2 <2.4.5

Affected Packages

npm fast-uri fix: 2.4.5, 3.1.6, 4.1.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

fast-uri (CPE: cpe:2.3:a:fast-uri:fast-uri:*:*:*:*:*:*:*:*) is the URI parsing library used by the Fastify Node.js web framework ecosystem. The root cause is CWE-436 (Interpretation Conflict): the library's host-normalization logic is applied conditionally - only when an explicit URI scheme (e.g., 'https://') is present. Scheme-relative references that begin with '//' are valid per RFC 3986 and carry a host component but no scheme token. Because fast-uri's canonicalization gate checks for the scheme token, these references bypass the ASCII/Punycode conversion step. The resulting inconsistency between parse/equal and resolve means the library produces two logically distinct host strings for the same input depending on which internal code path is exercised. This violates the principle of consistent interpretation required for safe input validation and is the canonical pattern described by CWE-436.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (openjs) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 5.9 MEDIUM

AC:H reflects the required application-pattern precondition (two-step validate-then-resolve with scheme-relative input); all other metrics match the supplied vector.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Aug 24, 2026 - 10:02 EUVD
CVE Published
Aug 24, 2026 - 09:30 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

fast-uri, a Node.js URI parser library used in Fastify applications, contains a host confusion vulnerability (CVSS 7.5) that could allow attackers to bypass security policies by exploiting inconsistent host canonicalization across different API calls. No public exploit identified at time of analysis. This affects any organization running Fastify applications that rely on URI validation for access control or policy enforcement.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
Core URI parser for the Fastify Node.js framework ecosystem
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.4 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy