fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. The affected ver
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
CVE-2026-76172 is a URI parsing vulnerability in the fast-uri Node.js library that stems from inconsistent handling of percent-encoded characters in the scheme component. The parser applies legacy decoding to the scheme but fails to re-escape the result during serialization, unlike other URI components such as the host. This creates a dangerous discrepancy where specially crafted URIs with percent-encoded slashes in the scheme can be parsed as having an undefined authority and host, yet when resolved or normalized, the same input produces a network-path reference with an attacker-controlled authority. Any application using fast-uri to parse or validate URIs—particularly those handling user-supplied input for URL routing, API endpoints, or security policy enforcement—faces potential authorization bypass, open redirect, or request smuggling attacks. This affects Node.js developers across web frameworks, API gateways, and security tools that rely on this library for URI validation.
While this CVE does not map directly to MITRE ATT&CK techniques, Casky's Claude-powered analysis engine would identify the underlying attack patterns by examining CWE-177 (Improper Handling of Encoding or Decoding of Data) across the 754 mapped security skills. Practitioners using Casky would observe findings related to input validation failures, improper canonicalization of user-controlled data, and inconsistent encoding/decoding logic—patterns commonly associated with CWE-177 violations. The platform would flag the discrepancy between parsing and serialization behavior as a potential security control bypass, highlighting how attackers could craft malicious URIs to evade URL-based access controls, bypass CORS policies, or trigger unintended network requests. Security teams would receive specific recommendations to audit URI handling logic, implement strict input validation before parsing, and ensure consistent re-escaping of all URI components during serialization.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-76172. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation