CVEfocus › CVE database › CVE-2026-16221

CVE-2026-16221fast-uri vulnerable to host confusion via literal backslash authority delimiter

CVSS 7.5 HighEPSS 0.4% (higher than 30% of CVEs)Published 2026-07-19Updated 2026-07-20Assigner: openjs

Impact: fast-uri versions from 2.3.1 through 4.1.0 (including the 3.x line up to 3.1.3 and the 2.x line up to 2.4.2) do not treat a literal backslash character (U+005C) as an authority delimiter. Node's native WHATWG URL parser, used by fetch, undici, and Node's http and https clients, normalizes the backslash to a forward slash for special schemes such as http, https, ws, wss, ftp, and file. As a result, the two parsers extract different hosts from the same input string. Applications that use fast-uri to enforce host-based policy such as allowlists, denylists, loopback or SSRF filtering, redirect validation, or outbound proxy routing before passing the same URL into Node's URL or fetch consumers can be steered to an unintended destination, including cloud metadata endpoints, loopback, or internal hosts. Patches: upgrade to fast-uri 4.1.1, 3.1.4, or 2.4.3. Workarounds: none.

CWE-436

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

2Fixed
4Fix pending
35Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-ajvFix pendingUBUNTU-CVE-2026-16221
Ubuntu 26.04node-ajvUnder investigationUBUNTU-CVE-2026-16221
Ubuntu 24.04node-ajvUnder investigationUBUNTU-CVE-2026-16221
Ubuntu 22.04node-ajvUnder investigationUBUNTU-CVE-2026-16221
Ubuntu 20.04node-ajvFix pendingUBUNTU-CVE-2026-16221
Ubuntu 18.04node-ajvFix pendingUBUNTU-CVE-2026-16221
Debian 14node-ajvFixed8.20.0~ds+~cs7.1.2-1DEBIAN-CVE-2026-16221
Debian 13node-ajvFix pendingDEBIAN-CVE-2026-16221
Red Hat Enterprise Linux 10linux-sgxUnder investigation
Red Hat Enterprise Linux 10sgx-commonUnder investigation
Red Hat Enterprise Linux 10sgx-libsUnder investigation
Red Hat Enterprise Linux 10sgx-mpaUnder investigation
Red Hat Enterprise Linux 10sgx-pccsUnder investigation
Red Hat Enterprise Linux 10sgx-pccs-adminUnder investigation
Red Hat Enterprise Linux 10sgx-pckid-toolUnder investigation
Red Hat Enterprise Linux 10tdx-qgsUnder investigation
Red Hat Enterprise Linux 9linux-sgxUnder investigation
Red Hat Enterprise Linux 9sgx-commonUnder investigation
Red Hat Enterprise Linux 9sgx-libsUnder investigation
Red Hat Enterprise Linux 9sgx-mpaUnder investigation
Red Hat Enterprise Linux 9sgx-pccsUnder investigation
Red Hat Enterprise Linux 9sgx-pccs-adminUnder investigation
Red Hat Enterprise Linux 9sgx-pckid-toolUnder investigation
Red Hat Enterprise Linux 9tdx-qgsUnder investigation
Red Hat Enterprise Linux 8aspnetcore-runtime-8.0Under investigation
Red Hat Enterprise Linux 8aspnetcore-runtime-dbg-8.0Under investigation
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-8.0Under investigation
Red Hat Enterprise Linux 8dotnetUnder investigation
Red Hat Enterprise Linux 8dotnet-apphost-pack-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-hostUnder investigation
Red Hat Enterprise Linux 8dotnet-hostfxr-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-runtime-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-runtime-dbg-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-sdk-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-sdk-8.0-source-built-artifactsUnder investigation
Red Hat Enterprise Linux 8dotnet-sdk-dbg-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-targeting-pack-8.0Under investigation
Red Hat Enterprise Linux 8dotnet-templates-8.0Under investigation
Red Hat Enterprise Linux 8dotnet8.0Under investigation
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Under investigation
npm libraryfast-uriFixed3.1.4GHSA-v2hh-gcrm-f6hx

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.

References

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.