CVEfocus › CVE database › CVE-2026-76172

CVE-2026-76172fast-uri vulnerable to host confusion via percent-encoded scheme normalization

CVSS 7.5 HighEPSS 0.4% (higher than 26% of CVEs)Published 2026-08-24Updated 2026-08-24Assigner: openjs

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.

CWE-177

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

5Fixed
21Fix pending
3Under investigation
47Not affected

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-76172
Ubuntu 26.04node-ajvUnder investigationUBUNTU-CVE-2026-76172
Ubuntu 24.04node-ajvUnder investigationUBUNTU-CVE-2026-76172
Ubuntu 22.04node-ajvUnder investigationUBUNTU-CVE-2026-76172
Ubuntu 20.04node-ajvFix pendingUBUNTU-CVE-2026-76172
Ubuntu 18.04node-ajvFix pendingUBUNTU-CVE-2026-76172
Debian 14node-ajvFixed8.20.0~ds+~cs7.1.4-1DEBIAN-CVE-2026-76172
Debian 13node-ajvFix pendingDEBIAN-CVE-2026-76172
Red Hat Enterprise Linux 10aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 10aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 10aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 10cockpit-image-builderFixed0:94.4-1.el10_2RHSA-2026:71543
Red Hat Enterprise Linux 10dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 10dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 10dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 10dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 10dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 10dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 10dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 10dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 10dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 10dotnet8.0Not affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10linux-sgxFix pending
Affected
Red Hat Enterprise Linux 10rh-podman-desktopFix pending
Affected
Red Hat Enterprise Linux 10sgx-commonFix pending
Affected
Red Hat Enterprise Linux 10sgx-libsFix pending
Affected
Red Hat Enterprise Linux 10sgx-mpaFix pending
Affected
Red Hat Enterprise Linux 10sgx-pccsFix pending
Affected
Red Hat Enterprise Linux 10sgx-pccs-adminFix pending
Affected
Red Hat Enterprise Linux 10sgx-pckid-toolFix pending
Affected
Red Hat Enterprise Linux 10tdx-qgsFix pending
Affected
Red Hat Enterprise Linux 9aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 9aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-hostNot affected
Red Hat Enterprise Linux 9dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 9dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 9dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 9dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 9dotnet8.0Not affected
Red Hat Enterprise Linux 9linux-sgxFix pending
Affected
Red Hat Enterprise Linux 9netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 9sgx-commonFix pending
Affected
Red Hat Enterprise Linux 9sgx-libsFix pending
Affected
Red Hat Enterprise Linux 9sgx-mpaFix pending
Affected
Red Hat Enterprise Linux 9sgx-pccsFix pending
Affected
Red Hat Enterprise Linux 9sgx-pccs-adminFix pending
Affected
Red Hat Enterprise Linux 9sgx-pckid-toolFix pending
Affected
Red Hat Enterprise Linux 9tdx-qgsFix pending
Affected
Red Hat Enterprise Linux 8aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnetNot affected
Red Hat Enterprise Linux 8dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-hostNot affected
Red Hat Enterprise Linux 8dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 8dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 8dotnet8.0Not affected
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Not affected
AlmaLinux 10cockpit-image-builderFixed94.4-1.el10_2ALSA-2026:71543
Rocky Linux 10cockpit-image-builderFixed0:94.4-1.el10_2RLSA-2026:71543
npm libraryfast-uriFixed4.1.3GHSA-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.

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.