CVE-2026-75931fast-uri vulnerable to host confusion via skipped IDN canonicalization on…
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.
What to do
Fixed builds are available from Debian, 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-75931 | |
| Ubuntu 26.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-75931 | |
| Ubuntu 24.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-75931 | |
| Ubuntu 22.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-75931 | |
| Ubuntu 20.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-75931 | |
| Ubuntu 18.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-75931 | |
| Debian 14 | node-ajv | Fixed | 8.20.0~ds+~cs7.1.4-1 | DEBIAN-CVE-2026-75931 |
| Debian 13 | node-ajv | Fix pending | DEBIAN-CVE-2026-75931 | |
| 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 | Fix pending Affected | ||
| 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 | Not affected | ||
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | sgx-common | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-mpa | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-pccs | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-pccs-admin | Not affected | ||
| Red Hat Enterprise Linux 10 | sgx-pckid-tool | Not affected | ||
| Red Hat Enterprise Linux 10 | tdx-qgs | Not 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 | Not affected | ||
| Red Hat Enterprise Linux 9 | netstandard-targeting-pack-2.1 | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-common | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-mpa | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-pccs | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-pccs-admin | Not affected | ||
| Red Hat Enterprise Linux 9 | sgx-pckid-tool | Not affected | ||
| Red Hat Enterprise Linux 9 | tdx-qgs | Not 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 | ||
| npm library | fast-uri | Fixed | 3.1.6 | GHSA-5jgf-p345-68v8 |
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.4.2 to before 2.4.5, 2.4.5 not affected, 3.1.3 to before 3.1.6, 3.1.6 not affected, 4.0.1 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-5jgf-p345-68v8
- 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.