Description
fast-uri is a URI parser for Node.js. It canonicalizes a host to its ASCII form only when the input carries an explicit scheme, so a scheme-relative reference such as a host preceded by two slashes is returned with its host verbatim and no error set. As a result fast-uri's own entry points disagree with each other: parse, resolve, normalize, and equal can yield different hosts for the same input depending only on whether a scheme is written out, and equal can return opposite verdicts for the same pair of hosts. An application that extracts a host with fast-uri to check it against a policy list and then resolves the same reference can make its decision on one host while the destination is another, enabling host confusion and policy bypass. The affected versions are 2.4.2 up to but not including 2.4.5, 3.1.3 up to but not including 3.1.6, and 4.0.1 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which canonicalize the host consistently across the resolve path. Users should upgrade to a patched version.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fast-uri | fast-uri | 2.4.2 – < 2.4.5, 3.1.3 – < 3.1.6, 4.0.1 – < 4.1.3 | 2.4.5 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-ajv | 8.20.0~ds+~cs7.1.4-1 | — |
| Debian 13 | node-ajv | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-ajv | No fix yet | — |
| Ubuntu 26.04 LTS | node-ajv | No fix yet | — |
| Ubuntu 24.04 LTS | node-ajv | No fix yet | — |
| Ubuntu 22.04 LTS | node-ajv | No fix yet | — |
| Ubuntu 20.04 LTS | node-ajv | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-ajv | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Utils 6 | foreman +1 | 3.18.0.14-1.el9sat | RHSA-2026:74503 |
| Red Hat Satellite Utils 6 | rubygem-hammer_cli | 3.18.0-2.el9sat | RHSA-2026:74503 |
| Red Hat Satellite Capsule 6 | foreman +2 | 3.18.0.14-1.el9sat | RHSA-2026:74503 |
| Red Hat Satellite Capsule 6 | python3.12-dynaconf | 3.2.13-2.el9pc | RHSA-2026:74503 |
| Red Hat Satellite Capsule 6 | python3.12-gitpython | 3.1.62-1.el9pc | RHSA-2026:74503 |
| Red Hat Satellite Capsule 6 | python3.12-sqlparse | 0.6.0-1.el9pc | RHSA-2026:74503 |
| Red Hat Satellite 6 | foreman +13 | 3.18.0.14-1.el9sat | RHSA-2026:74503 |
| Red Hat Satellite 6 | python3.12-dynaconf | 3.2.13-2.el9pc | RHSA-2026:74503 |
| Red Hat Satellite 6 | python3.12-gitpython | 3.1.62-1.el9pc | RHSA-2026:74503 |
| Red Hat Satellite 6 | python3.12-sqlparse | 0.6.0-1.el9pc | RHSA-2026:74503 |
| Red Hat Satellite 6 | rubygem-foreman_remote_execution +1 | 16.5.3-2.el9sat | RHSA-2026:74503 |
| Red Hat Satellite 6 | rubygem-hammer_cli | 3.18.0-2.el9sat | RHSA-2026:74503 |
| Red Hat Satellite 6 | rubygem-katello | 4.20.0.11-1.el9sat | RHSA-2026:74503 |
| Red Hat Satellite 6 | yggdrasil-worker-forwarder | 0.1.0-2.1.el9sat | RHSA-2026:74503 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana12.4 | 12.4.9-0.4.hum1 | RHSA-2026:60866 |
| Red Hat Hardened Images 1 | grafana13.1 | 13.1.3-0.3.hum1 | RHSA-2026:60855 |
| Red Hat Hardened Images 1 | grafana13.2 | 13.2.0-0.1.2.hum1 | RHSA-2026:60856 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | opensearch-dashboards-3 +12 | 3.8.0-r1 | — |
| Wolfi rolling | prism | 5.16.0-r7 | — |
| Wolfi rolling | tileserver-gl | 5.6.0-r14 | — |
| Wolfi rolling | vitess-24 | 24.0.2-r19 | — |
| Wolfi rolling | vitess-24-compat | 24.0.3-r7 | — |
| Wolfi rolling | yaml-language-server | 1.24.0-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | fast-uri | >= 2.4.2, < 2.4.5 | 2.4.5 | GHSA-5jgf-p345-68v8 |
| npm | fast-uri | >= 3.1.3, < 3.1.6 | 3.1.6 | GHSA-5jgf-p345-68v8 |
| npm | fast-uri | >= 4.0.1, < 4.1.3 | 4.1.3 | GHSA-5jgf-p345-68v8 |
Advisories 4
- RHSA-2026:74503 Red Hat Security Advisory: Satellite 6.19.5 Async Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:60856 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:60866 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:60855 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026