Sep 30, 2026·4 min read·24 visits
An incorrect sequence of case folding and percent-decoding in fast-uri allows attackers to bypass case-sensitive domain filters using percent-encoded uppercase hostnames in scheme-relative URLs.
CVE-2026-86472 is a validation bypass vulnerability in fast-uri (a high-performance RFC 3986 URI toolbox heavily used by popular Node.js frameworks like Fastify and validation libraries like AJV). The vulnerability stems from improper handling of case sensitivity (CWE-178) due to an incorrect order of operations during hostname canonicalization in scheme-relative URLs. An attacker can leverage percent-encoded uppercase characters within scheme-relative URLs to bypass domain blocklists/allowlists in downstream applications. Because hostname resolution in DNS and HTTP is case-insensitive, the bypassed host representation still routes to the target destination, resulting in potential Server-Side Request Forgery (SSRF) or security control bypasses.
The vulnerability CVE-2026-86472 is an improper handling of case sensitivity (CWE-178) within the fast-uri library, an RFC 3986 compliant URI parser written for Node.js environments. The library serves as a critical performance-oriented dependency for parsing tasks in popular web frameworks and validation engines, including Fastify and AJV. The attack surface is exposed primarily when downstream systems process, validate, or perform routing decisions on user-supplied URLs.
Because hostname matching and resolving are inherently case-insensitive, a vulnerability arises when parsing and security filtering do not normalize capitalization in an identical fashion. The flaw allows external actors to submit specifically formatted URIs that bypass standard string-matching list validations, while still resolving to targeted servers. This discrepancy can compromise validation barriers, potentially permitting unintended network exposure or unauthorized access paths.
The flaw is located within the canonicalization workflow of the parser function (parseWithStatus inside index.js), specifically during the handling of hostnames in scheme-relative URLs. RFC 3986 requires that registered names (hostnames) be case-insensitive and folded to lowercase. It also specifies that percent-encoded unreserved characters, such as %41 representing 'A', should be decoded to their literal equivalents.
In the vulnerable codebase, the host lowercasing fold was executed prior to the percent-decoding sequence. Consequently, the percent-encoding identifier %41 remained unchanged by the lowercasing pass since it does not contain uppercase alphabetical characters. When the subsequent percent-decoding step ran, it converted %41 into its literal ASCII representation 'A', leaving an uppercase character in the parsed hostname.
This parsed output is structurally invalid according to lowercase normalization requirements, yet resolves correctly at the DNS or network routing level. Furthermore, this canonicalization logic was conditionally executed only within scheme-specific validation blocks. When parsing a scheme-relative URI (e.g., //%41.com), the absence of a scheme bypassed the secondary normalization checks, preserving the casing inconsistency.
The vulnerable logic in index.js checks for a scheme handler before applying host percent-decoding and normalization. This design omitted scheme-relative URLs from consistent parsing:
if (!schemeHandler || (schemeHandler && !schemeHandler.skipNormalize)) {
if (uri.indexOf('%') !== -1) {
if (parsed.host !== undefined && !malformedIPLiteral) {
const host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true)
parsed.host = reescapeHostDelimiters(host, isIP)
}
}
}The fix extracts the percent-decoding check outside of the scheme handler validation block, executing it unconditionally. The normalization process was also reordered to ensure case folding occurs after decoding:
if (uri.indexOf('%') !== -1 && parsed.host !== undefined && !malformedIPLiteral) {
let host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true)
if (!isIP) {
// Fold reg-name case after decoding unreserved octets.
host = normalizePercentEncoding(host.toLowerCase())
}
parsed.host = reescapeHostDelimiters(host, isIP)
}This ensures that any percent-encoded unreserved characters are first decoded to their literal forms, then folded to lowercase, and finally normalized to restore valid percent-escapes.
Exploitation requires that an application parses an input URI, validates the parsed host against an allowlist or denylist using case-sensitive operations, and subsequently uses the original or parsed URL to make an HTTP request. The attacker crafts a scheme-relative URI containing percent-encoded uppercase letters matching characters in a restricted domain.
When the application evaluates A.com against a case-sensitive blocklist containing a.com, the match fails, allowing the request to proceed. The downstream HTTP client then performs case-insensitive resolution, routing the request to a.com anyway.
The primary risk associated with this vulnerability is the evasion of domain-based access controls, leading to security filter bypasses such as Server-Side Request Forgery (SSRF). If an application restricts outbound connections using an allowlist parsed by fast-uri, an attacker can bypass this protection to access internal endpoints.
This vulnerability has a CVSS v3.1 base score of 4.8 (Medium), reflecting high attack complexity and low impact on confidentiality and integrity. No active exploitation has been observed, and the exploit status remains at proof-of-concept level.
Remediation requires upgrading fast-uri to version 2.4.7, 3.1.8, or 4.1.5, depending on the active branch. These versions contain the refactored parsing logic that resolves the order-of-operations conflict.
Where immediate upgrades are not feasible, developers must manually fold parsed hostnames to lowercase before performing string validation. This mitigation prevents differential interpretations between the application's business logic and the network layer.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
fast-uri fastify | < 2.4.7 | 2.4.7 |
fast-uri fastify | 3.0.0 - 3.1.7 | 3.1.8 |
fast-uri fastify | 4.0.0 - 4.1.4 | 4.1.5 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-178 |
| Attack Vector | Network (AV:N) |
| CVSS Score | 4.8 |
| EPSS Score | 0.00253 |
| Exploit Status | poc |
| CISA KEV Status | Not Listed |
The software performs a case-sensitive comparison or manipulation of an identifier that is meant to be case-insensitive, leading to security filter evasion.
CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.
An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.
GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.
CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.
CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.
An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.