Description
fast-uri is a URI parser for Node.js. It decodes percent escapes in a hostname during parsing and then decodes the parsed hostname a second time during authority recomposition, so a single call to normalize or resolve can turn nested percent-encoded input into a different network destination such as a loopback hostname or address. For example, a doubly encoded host that spells out a loopback name decodes to that live host in one operation, which contradicts RFC 3986 section 2.4 that an implementation must not decode the same string more than once. An application that normalizes or resolves an untrusted HTTP-family URI before outbound routing, redirect validation, or a host-policy check can receive a destination different from the one the original encoded host represented, giving a server-side request forgery and host-policy bypass primitive. This is an incomplete-fix variant of CVE-2026-6322. The affected versions are 2.4.1 up to but not including 2.4.5, 3.1.2 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which normalize percent escapes once and preserve encoded percent signs. Users should upgrade to a patched version.
Published: 2026-08-24
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Server‑Side Request Forgery
Action: Immediate Patch
AI Analysis

Impact

fast‑uri is a Node.js URI parsing library that performs percent‑decoding at two separate stages: during hostname parsing and later when reconstructing the authority component. The double decoding means a single percent‑encoded value can be transformed into a different network destination in one operation. The result is that a crafted HTTP‑family URI can resolve to an unintended host, such as a loopback address, allowing an attacker to send requests to internal services or bypass host‑policy checks, thereby enabling server‑side request forgery.

Affected Systems

Fast‑uri releases 2.4.1 through 2.4.4, 3.1.2 through 3.1.5, and 4.0.0 through 4.1.2 are vulnerable. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which perform a single percent‑decode and retain encoded percent signs.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity rating, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is 0.00234 (0.234%), indicating a very low exploitation probability. It is inferred that no authentication is required, as the double‑decoding occurs during normal URI normalization, and the main attack vector is a crafted URI supplied by an external source. Applications that normalize or resolve untrusted URIs before outbound routing or host‑policy verification can unknowingly route to forbidden destinations, such as localhost or internal IP ranges. The risk is amplified for services exposed to the Internet, where an attacker can reach internal networks, potentially leading to data exfiltration or privilege escalation.

Generated by OpenCVE AI on August 28, 2026 at 20:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade fast‑uri to a patched version (≥2.4.5, ≥3.1.6, or ≥4.1.3).
  • Ensure that application logic does not perform an additional percent‑decoding on the hostname after fast‑uri has processed it; decode only once or keep percent signs encoded.
  • Implement host‑validation or outbound routing rules that compare resolved hostnames against a whitelist of allowed destinations and explicitly block loopback or internal IP addresses.

Generated by OpenCVE AI on August 28, 2026 at 20:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fph4-wmhf-6fwf fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding
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-140
References
Metrics threat_severity

None

threat_severity

Important


Mon, 24 Aug 2026 17: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 11: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 decodes percent escapes in a hostname during parsing and then decodes the parsed hostname a second time during authority recomposition, so a single call to normalize or resolve can turn nested percent-encoded input into a different network destination such as a loopback hostname or address. For example, a doubly encoded host that spells out a loopback name decodes to that live host in one operation, which contradicts RFC 3986 section 2.4 that an implementation must not decode the same string more than once. An application that normalizes or resolves an untrusted HTTP-family URI before outbound routing, redirect validation, or a host-policy check can receive a destination different from the one the original encoded host represented, giving a server-side request forgery and host-policy bypass primitive. This is an incomplete-fix variant of CVE-2026-6322. The affected versions are 2.4.1 up to but not including 2.4.5, 3.1.2 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which normalize percent escapes once and preserve encoded percent signs. Users should upgrade to a patched version.
Title fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding
Weaknesses CWE-174
CWE-918
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:19:58.701Z

Reserved: 2026-08-18T14:27:47.424Z

Link: CVE-2026-75899

cve-icon Vulnrichment

Updated: 2026-08-24T16:17:14.102Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-02T14:43:19.097

Link: CVE-2026-75899

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-24T09:40:19Z

Links: CVE-2026-75899 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T20:15:06Z

Weaknesses
  • CWE-140

    Improper Neutralization of Delimiters

  • CWE-174

    Double Decoding of the Same Data

  • CWE-918

    Server-Side Request Forgery (SSRF)