Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit scheme-relative URI with non-ASCII host
-
Deliveryfast-uri parse returns verbatim (non-canonical) host
-
Exploithost string passes policy allowlist check
-
Executionfast-uri resolve canonicalizes host to ASCII/Punycode form
-
PersistApplication dispatches request to unintended host
-
ImpactSecurity 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AC:H reflects the required application-pattern precondition (two-step validate-then-resolve with scheme-relative input); all other metrics match the supplied vector.
Primary rating from Vendor (openjs).
CVSS VectorVendor: openjs
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
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
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
Same weakness CWE-436 – Interpretation Conflict
View allSame technique Authentication Bypass
View allVendor 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 |
| SUSE Linux Enterprise Micro 5.4 | Not-Affected |
| SUSE Linux Enterprise Micro 5.4 | Not-Affected |
| SUSE Linux Enterprise Micro 5.4 | Not-Affected |
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Module for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| openSUSE Leap Micro 5.5 | Not-Affected |
| openSUSE Leap Micro 5.5 | Not-Affected |
| openSUSE Leap Micro 5.5 | Not-Affected |
EUVD-2026-64758
GHSA-5jgf-p345-68v8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB