CVE-2026-76172 is a high-severity (CVSS 7.5) CWE-177 vulnerability in fast-uri. A fix is available for fast-uri — see the affected versions and patch details below.
fast-uri vulnerable to host confusion via percent-encoded scheme normalization
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-76172.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
fast-urinpmDescription
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 versions are 2.3.1 up to but not including 2.4.5, 3.0.0 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 reject a scheme that is not valid after decoding. Users should upgrade to a patched version.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | fast-uri | ≥ 2.3.1&&< 2.4.5 | 2.4.5npm install fast-uri@2.4.5 |
| 📦npm | fast-uri | ≥ 3.0.0&&< 3.1.6 | 3.1.6npm install fast-uri@3.1.6 |
| 📦npm | fast-uri | ≥ 4.0.0&&< 4.1.3 | 4.1.3npm install fast-uri@4.1.3 |
Affected Products
fast-uriopenjsfDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for fast-uri, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update fast-uri to 2.4.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-76172 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
A host confusion vulnerability was found in fast-uri, a URI parser for Node.js. The parser runs a legacy decoding pass over the scheme component and never re-escapes the result. As a consequence, an input whose scheme carries percent-encoded slashes parses as having no authority (undefined host), yet resolving or…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | cockpit-image-builder-0:94.4-1.el10_2 | RHSA-2026:71543 |
| Cluster Observability Operator 1.5 | cluster-observability-operator/troubleshooting-panel-console-plugin-rhel9:1790854494 | RHSA-2026:74609 |
| Cluster Observability Operator 1.5 | cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1793661804 | RHSA-2026:95081 |
| Cluster Observability Operator 1.5 | cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1793823428 | RHSA-2026:95591 |
| multicluster engine for Kubernetes 2.11 | multicluster-engine/console-mce-rhel9:1790133081 | RHSA-2026:72848 |
| multicluster engine for Kubernetes 2.17 | multicluster-engine/console-mce-rhel9:1790135323 | RHSA-2026:72849 |
| Network Observability (NETOBSERV) 1.12.3 | network-observability/network-observability-console-plugin-pf5-rhel9:1789978780 | RHSA-2026:70593 |
| Red Hat Advanced Cluster Management for Kubernetes 2.16 | rhacm2/console-rhel9:1788880980 | RHSA-2026:67542 |
Frequently Asked Questions
Is CVE-2026-76172 in your dependencies?
Find it across npm, including transitive dependencies.