CVE-2026-76172fast-uri vulnerable to host confusion via percent-encoded scheme normalization
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-ajv | Fix pending | UBUNTU-CVE-2026-76172 | |
| Ubuntu 26.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-76172 | |
| Ubuntu 24.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-76172 | |
| Ubuntu 22.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-76172 | |
| Ubuntu 20.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-76172 | |
| Ubuntu 18.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-76172 | |
| Debian 14 | node-ajv | Fixed | 8.20.0~ds+~cs7.1.4-1 | DEBIAN-CVE-2026-76172 |
| Debian 13 | node-ajv | Fix pending | DEBIAN-CVE-2026-76172 | |
| Red Hat Enterprise Linux 10 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | cockpit-image-builder | Fixed | 0:94.4-1.el10_2 | RHSA-2026:71543 |
| Red Hat Enterprise Linux 10 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | linux-sgx | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | sgx-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | sgx-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | sgx-mpa | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | sgx-pccs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | sgx-pccs-admin | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | sgx-pckid-tool | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | tdx-qgs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-host | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 9 | linux-sgx | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | netstandard-targeting-pack-2.1 | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | sgx-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | sgx-mpa | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | sgx-pccs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | sgx-pccs-admin | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | sgx-pckid-tool | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | tdx-qgs | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Not affected | ||
| AlmaLinux 10 | cockpit-image-builder | Fixed | 94.4-1.el10_2 | ALSA-2026:71543 |
| Rocky Linux 10 | cockpit-image-builder | Fixed | 0:94.4-1.el10_2 | RLSA-2026:71543 |
| npm library | fast-uri | Fixed | 4.1.3 | GHSA-jqff-g426-hqxp |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- fast-uri: affected: 2.3.1 to before 2.4.5, 2.4.5 not affected, 3.0.0 to before 3.1.6, 3.1.6 not affected, 4.0.0 to before 4.1.3, 4.1.3 not affected; fixed in
2.4.5,3.1.6,4.1.3
References
- https://github.com/fastify/fast-uri/security/advisories/GHSA-jqff-g426-hqxp
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.