CVEfocus › CVE database › CVE-2026-6321

CVE-2026-6321fast-uri vulnerable to path traversal via percent-encoded dot segments

CVSS 7.5 HighEPSS 0.8% (higher than 52% of CVEs)Published 2026-05-04Updated 2026-09-10Assigner: openjs

fast-uri decoded percent-encoded path separators and dot segments before applying dot-segment removal in its normalize() and equal() functions. Encoded path data was treated like real slashes and parent-directory references, so distinct URIs could collapse onto the same normalized path. Applications that normalize or compare attacker-controlled URLs to enforce path-based policy can be bypassed, with a path that appears confined under an allowed prefix normalizing to a different location. Versions <= 3.1.0 are affected. Update to 3.1.1 or later.

CWE-22

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

3Fixed
5Fix pending
3Under investigation
1Will not fix
16Not 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-6321
Ubuntu 26.04node-ajvUnder investigationUBUNTU-CVE-2026-6321
Ubuntu 25.10node-ajvWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-6321
Ubuntu 24.04node-ajvUnder investigationUBUNTU-CVE-2026-6321
Ubuntu 22.04node-ajvUnder investigationUBUNTU-CVE-2026-6321
Ubuntu 20.04node-ajvFix pendingUBUNTU-CVE-2026-6321
Ubuntu 18.04node-ajvFix pendingUBUNTU-CVE-2026-6321
Debian 14node-ajvFixed8.20.0~ds+~cs6.1.3-1DEBIAN-CVE-2026-6321
Debian 13node-ajvFix pendingDEBIAN-CVE-2026-6321
Debian 12node-ajvFix pendingDEBIAN-CVE-2026-6321
Red Hat Enterprise Linux 10linux-sgxNot affected
Red Hat Enterprise Linux 10rh-podman-desktopFixed0:1.1.1-1.el10_2RHSA-2026:37385
Red Hat Enterprise Linux 10sgx-commonNot affected
Red Hat Enterprise Linux 10sgx-libsNot affected
Red Hat Enterprise Linux 10sgx-mpaNot affected
Red Hat Enterprise Linux 10sgx-pccsNot affected
Red Hat Enterprise Linux 10sgx-pccs-adminNot affected
Red Hat Enterprise Linux 10sgx-pckid-toolNot affected
Red Hat Enterprise Linux 10tdx-qgsNot affected
Red Hat Enterprise Linux 9linux-sgxNot affected
Red Hat Enterprise Linux 9sgx-commonNot affected
Red Hat Enterprise Linux 9sgx-libsNot affected
Red Hat Enterprise Linux 9sgx-mpaNot affected
Red Hat Enterprise Linux 9sgx-pccsNot affected
Red Hat Enterprise Linux 9sgx-pccs-adminNot affected
Red Hat Enterprise Linux 9sgx-pckid-toolNot affected
Red Hat Enterprise Linux 9tdx-qgsNot affected
npm libraryfast-uriFixed2.4.1GHSA-q3j6-qgpj-74h6

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.