CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-75931

CVE-2026-75931: Host Confusion and SSRF Bypass via Scheme-Relative URIs in fast-uri

Amit Schendel
Amit Schendel
Senior Security Researcher

Sep 2, 2026·7 min read·64 visits

Executive Summary (TL;DR)

A discrepancy in host canonicalization within fast-uri allows bypasses of SSRF and access-control filters when handling scheme-relative URI references.

A host confusion vulnerability exists in the fast-uri Node.js library when parsing scheme-relative URI references. Due to inconsistent domain name canonicalization, applications validating resolved hosts can be bypassed by downstream WHATWG-compliant parsers, facilitating Server-Side Request Forgery (SSRF).

Vulnerability Overview

The vulnerability, tracked as CVE-2026-75931, originates from an inconsistency within the IDN (Internationalized Domain Name) parsing mechanics of fast-uri. fast-uri is a highly optimized, light-weight URI parser designed for rapid parsing and serialization operations in Node.js applications. In modern network environments, it is often utilized inside high-throughput routers, proxy servers, and API gateways to validate URLs against access policies, denylists, or SSRF (Server-Side Request Forgery) protection lists.

A flaw exists in how the parser canonicalizes or normalizes hostnames containing non-ASCII unicode characters, such as fullwidth or compatibility characters (like \u3002, representing an ideographic period). Under normal circumstances, absolute URIs with explicit schemes (e.g., http://...) are processed correctly, converting non-ASCII hostnames to their ASCII/Punycode representations. However, when evaluating scheme-relative URI references (e.g., //127\u30020\u30020\u30021/), the validation engine bypasses this canonicalization entirely.

This omission leads to an interpretation conflict (CWE-436) when the parsed or resolved output of fast-uri is handled by a standard-compliant HTTP client (like Node's native fetch or http modules) that enforces strict WHATWG standards. The validation system assesses an uncanonicalized hostname, while the transport client resolves and requests the actual canonicalized target, rendering security policies completely ineffective against host-obfuscated payloads.

Root Cause Analysis

The root cause of this vulnerability lies in the conditional execution of the host canonicalization logic within fast-uri's parsing loop. In vulnerable versions, the library only invoked its internal host-normalization function when the parser encountered an explicit protocol scheme during the initialization step. This implementation flaw assumed that any URI reference lacking a scheme did not immediately require Punycode translation or host-structural checks.

During the execution of resolve(), the library merges a base URI (e.g., http://trusted.example/base) and a relative URI (e.g., //127\u30020\u30020\u30021/private). The processing logic leverages a component-based parsing function resolveComponent() to resolve path, query, and authority elements. Because the relative reference starts with dual slashes (//) rather than an explicit protocol, the parser categorizes it as a scheme-relative reference.

Consequently, resolveComponent() parses the host string without triggering any IDN-to-Punycode canonicalization steps. When the library subsequently combines the base URL's scheme with the relative component's host to formulate the fully resolved URL, it merges the uncanonicalized host string verbatim into the serialized result. The final string retains characters like \u3002 (ideographic full stop) instead of translating them to standard dots (.), which allows the input to evade naive string matching or regular-expression-based destination filters.

Code Analysis

To illustrate the vulnerability, we can examine the structural differences in how fast-uri handles resolving operations. In vulnerable releases, the host canonicalization function was only run within parseWithStatus() under restricted criteria. The resolve() method combined strings without validating whether the output host was normalized.

Below is an overview of the vulnerable resolving flow compared to the remediated logic introduced in the patch:

// VULNERABLE PATHWAY
function resolve (baseURI, relativeURI, options) {
  // Parsing happens independently for base and relative components
  const baseParsed = parse(baseURI, options)
  const relativeParsed = parse(relativeURI, options)
  
  // MERGING COMPONENT WITHOUT HOST CANONICALIZATION CHECK
  // Since relativeParsed did not have an explicit scheme, its host was left unnormalized
  const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true)
  
  // Directly serialized and returned without validating host ASCII representations
  return serialize(resolved, schemelessOptions)
}

The patch fixes this vulnerability by intercepting the resolving process immediately after the base and relative elements are unified, ensuring that host normalization is executed relative to the final effective scheme:

// REMEDIATED PATHWAY
function resolve (baseURI, relativeURI, options) {
  const baseParsed = parse(baseURI, options)
  const relativeParsed = parse(relativeURI, options)
  
  // Merging components
  const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true)
  
  // RESOLVED PATCH: Explicitly fetch scheme handler for final merged scheme
  const resolvedSchemeHandler = getSchemeHandler((options && options.scheme) || resolved.scheme)
  const resolvedHost = resolved.host
  const resolvedHostIsIP = resolvedHost !== undefined && resolvedHost !== '' &&
    (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6)
    
  // Force hostname canonicalization using final resolved context
  canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP)
  
  // Fail closed if hostname cannot be successfully mapped to ASCII
  if (resolved.error && !encodedASCIIHost) {
    throw new Error(resolved.error)
  }
  
  schemelessOptions.skipEscape = true
  return serialize(resolved, schemelessOptions)
}

This structural modification guarantees that any host output resulting from resolve() will be canonicalized or will fail hard, preventing interpretation mismatches before serialization occurs.

Exploitation Methodology

Exploiting this flaw requires an application architecture where input parsing and security enforcement are decoupled from actual networking actions. The threat actor must identify an endpoint that accepts a relative or absolute URL, resolves it against an internal or default base context using fast-uri, performs a validation check against the resolved host, and then initiates an HTTP request to the same URL using Node's standard fetch, axios, or native http modules.

To execute the exploit, the attacker crafts a scheme-relative payload utilizing Unicode equivalents of standard IP address delimiters:

//127\u30020\u30020\u30021/sensitive-endpoint

When processed through fast-uri's resolve function on a vulnerable library, the result is output as http://127\u30020\u30020\u30021/sensitive-endpoint. If the application extracts the hostname using the same library, it will retrieve the string "127\u30020\u30020\u30021".

Because this string does not match standard loopback patterns (e.g., 127.0.0.1 or localhost), the SSRF checks are successfully bypassed. However, once passed to Node's internal URL implementation during the outgoing HTTP call, the WHATWG parser converts the fullwidth full stop characters (\u3002) into standard periods (.), resolving the hostname directly to the loopback interface (127.0.0.1) and allowing unauthorized access to internal resources.

Impact Assessment

The impact of CVE-2026-75931 is high (CVSS v3.1 Base Score of 7.5), primarily threatening the integrity and isolation of private internal network services. In microservice architectures, API gateways and proxies often rely on lightweight parsers like fast-uri to guarantee low-latency validation of external inputs. Exploiting this vulnerability allows bypass of administrative filters, network isolation boundaries, and security policies.

If successfully exploited, an attacker can coerce the server into requesting endpoints on its own local interfaces or internal subnets (e.g., Amazon EC2 metadata services at http://169.254.169.254 or internal databases). Depending on the endpoints exposed internally, this can lead to unauthorized configuration changes, exposure of environment variables, credential leaks, or execution of administrative operations.

Furthermore, because equal() and normalize() functions yield inconsistent outputs depending on whether the scheme is explicit, secondary exploits could involve cache-key manipulation or session-hijacking in configurations where fast-uri normalization is utilized to generate lookup keys for security-sensitive contexts.

Remediation & Mitigation Guidance

Mitigating CVE-2026-75931 permanently requires updating fast-uri to patched releases. The OpenJS Foundation has issued updates across all active major branches of the library. Security administrators must identify any dependency lockfiles incorporating versions in the affected ranges and force an immediate upgrade.

For environments unable to update the library immediately, two main workarounds exist. First, you can force host canonicalization prior to checking policies by parsing the resolved URL with the native Node.js standard URL class before evaluating security lists. While this incurs a performance penalty compared to fast-uri, it guarantees perfect parity with downstream HTTP clients.

Second, you can implement a defensive regex pre-filter to block incoming parameters containing raw Unicode compatibility characters (specifically \u3002, \uFF0E, \uFF61) within scheme-relative formats. This ensures that any input resembling a domain name is restricted to standard ASCII alphanumeric and punctuation sets before hitting the parsing step.

Official Patches

OpenJS FoundationGitHub Security Advisory for fast-uri

Fix Analysis (3)

Technical Appendix

CVSS Score
7.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Probability
0.25%
Top 84% most exploited
50,000
via Censys / Node.js Dependency Map Analysis

Affected Systems

fast-uri (Node.js NPM package)

Affected Versions Detail

Product
Affected Versions
Fixed Version
fast-uri
OpenJS Foundation
>= 2.4.2, < 2.4.52.4.5
fast-uri
OpenJS Foundation
>= 3.1.3, < 3.1.63.1.6
fast-uri
OpenJS Foundation
>= 4.0.1, < 4.1.34.1.3
AttributeDetail
CWE IDCWE-436 (Interpretation Conflict)
Attack VectorNetwork (AV:N)
CVSS Score7.5 (High)
EPSS Score0.00247 (15.89th percentile)
ImpactSSRF Filter Bypass / Host Obfuscation
Exploit StatusPoC / Conceptual
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
CWE-436
Interpretation Conflict

An interpretation conflict occurs when two or more components interpret the same input differently.

Vulnerability Timeline

Vulnerability reported by security researchers
2026-08-03
Fix implemented in main branch
2026-08-21
Patched versions released (v2.4.5, v3.1.6, v4.1.3)
2026-08-23
Public vulnerability disclosure and GHSA published
2026-08-24

References & Sources

  • [1]NVD Detail CVE-2026-75931
  • [2]GitHub Security Advisory GHSA-5jgf-p345-68v8
  • [3]Remediation Commit 4e4ebd

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•44 minutes ago•CVE-2026-114132
6.3

CVE-2026-114132: Case-Sensitivity Route Rule Bypass in Nuxt Framework

Nuxt versions prior to 4.6.2 suffer from a route rule bypass vulnerability caused by an architectural mismatch in case-sensitivity handling between the Nitro server runtime and the Vue page router. An unauthenticated remote attacker can bypass server-enforced route directives—such as redirects, security headers, and SSR controls—by altering character casing in HTTP request paths.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 2 hours ago•GHSA-78G4-XQWV-Q3G8
7.5

GHSA-78G4-XQWV-Q3G8: Heap-Based Buffer Overflow in Pillow (libopenjp2)

A heap-based buffer overflow vulnerability in Pillow PyPI binary wheels (versions 11.1.0 to 12.x) allows remote code execution or application crash via crafted JPEG 2000 files processed by the bundled libopenjp2 library.

Alon Barad
Alon Barad
14 views•4 min read
•about 3 hours ago•CVE-2026-109618
9.8

CVE-2026-109618: Remote Code Execution in PHP Core via Out-of-Memory longjmp() Uninitialized Memory Access

CVE-2026-109618 (dubbed PHP2Shell) is a critical vulnerability in the PHP engine core resulting from improper out-of-memory exception handling via longjmp(). When request allocation fails mid-processing, non-local control flow bypasses cleanup procedures, leaving memory structures uninitialized or in a use-after-free state during request shutdown.

Amit Schendel
Amit Schendel
10 views•5 min read
•about 3 hours ago•CVE-2026-109619
9.2

CVE-2026-109619: Remote Code Execution in PHP Core via Stale Global State Memory Corruption (PHP2Shell)

CVE-2026-109619 (PHP2Shell) is a critical Use-After-Free vulnerability in the core PHP engine caused by improper global state cleanup during out-of-memory exception handling across persistent worker requests.

Alon Barad
Alon Barad
12 views•6 min read
•about 3 hours ago•CVE-2026-113721
4.5

CVE-2026-113721: Unsafe Link Resolution in virtualenv File Generation

In Python virtualenv prior to version 21.14.9, activation script generators and configuration writers use Path.exists() before writing files. Because Path.exists() resolves symbolic links, it returns False for dangling symlinks. Consequently, virtualenv skips unlinking pre-planted symbolic links or hard links, writing data directly to target locations outside the intended virtual environment directory.

Amit Schendel
Amit Schendel
4 views•5 min read
•10 days ago•CVE-2026-87697
8.8

CVE-2026-87697: Untrusted Deserialization in .NET PresentationCore Clipboard Handling

A remote code execution vulnerability exists in Microsoft .NET due to untrusted data deserialization within the PresentationCore component. The flaw stems from implicit auto-conversion flags during clipboard data retrieval operations.

Alon Barad
Alon Barad
31 views•5 min read