CVE-2026-13676fast-uri vulnerable to host confusion via failed IDN canonicalization
fast-uri versions 2.3.1 through 3.1.2 and 4.0.0 fail to canonicalize Unicode (IDN) hostnames for HTTP-family URLs. The IDN conversion path calls a helper that does not exist on the global URL constructor, silently leaving the host in its original Unicode form while normalize() and equal() still return values that differ from a WHATWG-compatible URL parser. Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL to Node's URL or fetch can be bypassed when the two implementations resolve the same input to different hosts. Patches: upgrade to fast-uri 3.1.3 for the 3.x line or 4.0.1 for the 4.x line. Workarounds: enforce host policy using the same URL parser used for the actual request, or reject non-ASCII hosts before policy checks.
What to do
Fixed builds are available from Debian, Red Hat, npm: see the table below for the fixed version per release.
Debian, 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-13676 | |
| Ubuntu 26.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-13676 | |
| Ubuntu 25.10 | node-ajv | Will not fix fast-uri included in node-ajv from resolute. (need to confirm if older releases also have it somehow) | UBUNTU-CVE-2026-13676 | |
| Ubuntu 24.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-13676 | |
| Ubuntu 22.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-13676 | |
| Ubuntu 20.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-13676 | |
| Ubuntu 18.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-13676 | |
| Debian 14 | node-ajv | Fixed | 8.20.0~ds+~cs7.1.2-1 | DEBIAN-CVE-2026-13676 |
| Debian 13 | node-ajv | Fix pending | DEBIAN-CVE-2026-13676 | |
| Red Hat Enterprise Linux 10 | linux-sgx | Not affected | ||
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fixed | 0:1.1.2-1.el10_2 | RHSA-2026:57590 |
| 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 | linux-sgx | 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 | ||
| npm library | fast-uri | Fixed | 3.1.3 | GHSA-4c8g-83qw-93j6 |
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: 4.0.0 to before 4.0.1, 4.0.1 not affected, 2.3.1 to before 3.1.3, 3.1.3 not affected; fixed in
4.0.1,3.1.3
References
- https://github.com/fastify/fast-uri/security/advisories/GHSA-4c8g-83qw-93j6
- 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.