Home / fast-uri / fast-uri / CVE-2026-6321
CVE-2026-6321: is it exploited, and which versions of fast-uri are affected and fixed?
CVE-2026-6321 is a path traversal (reading or writing files outside the intended folder) vulnerability in fast-uri. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: fast-uri from 3.0.0 before 3.1.1 and fast-uri before 2.4.1 (GitHub advisory GHSA-q3j6-qgpj-74h6). Fixed in 3.1.1 and 2.4.1 (GitHub advisory GHSA-q3j6-qgpj-74h6). Severity: High (7.5, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-6321?
fast-uri vulnerable to path traversal via percent-encoded dot segments
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.
From the CVE record by openjs, last updated September 10, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| fast-uri | fast-uri | before 3.1.1 | 3.1.1 |
As the CVE record by openjs states it, last updated September 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | fast-uri | >= 3.0.0, < 3.1.1 | 3.1.1 | GHSA-q3j6-qgpj-74h6 |
| npm | fast-uri | < 2.4.1 | 2.4.1 | GHSA-q3j6-qgpj-74h6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 20, 2026. Summary: fast-uri vulnerable to path traversal via percent-encoded dot segments.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openjsf | fast-uri | before 3.1.1 | application |
NVD analysis (status Modified), last modified November 11, 2026, 23:10 UTC.
How severe is CVE-2026-6321?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | openjs |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-6321 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 5, 2026)
- EPSS
- 0.65% probability of exploitation activity in the next 30 days, percentile 52.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/fastify/fast-uri/security/advisories/GHSA-q3j6-qgpj-74h6
- https://cna.openjsf.org/security-advisories.html
- https://access.redhat.com/security/cve/CVE-2026-6321 vdb-entry, x_refsource_REDHAT
- RHBZ#2466582 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6321.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:42078 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42079 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34342 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37385 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25089 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24473 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24766 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24866 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21338 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26234 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:20338 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:24977 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25123 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26416 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56431 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26420 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56366 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19238 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57013 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56928 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:26214 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- Jvr (reporter)
- Matteo Collina (remediation developer)
- Ulises Gascón (remediation reviewer)
- KaKa (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 14, 2026
- Published
- May 4, 2026, 19:31 UTC
- CVE record updated
- September 10, 2026, 12:04 UTC by openjs
- NVD
- Modified, last modified November 11, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect fast-uri?
- Oct 20, 2026CVE-2026-110725 fast-uri: improper Resolution of Path Equivalence
- Oct 20, 2026CVE-2026-110306 fast-uri: improper Encoding or Decoding of Data
- Oct 20, 2026CVE-2026-110180 fast-uri: improper input validation
- Oct 20, 2026CVE-2026-110095 fast-uri: improper Resolution of Path Equivalence
- Sep 15, 2026CVE-2026-86818 fast-uri: improper Encoding or Decoding of Data
- Sep 15, 2026CVE-2026-86472 fast-uri: improper Handling of Case Sensitivity
- Sep 2, 2026CVE-2026-84394 fast-uri: interpretation Conflict
- Sep 2, 2026CVE-2026-84292 fast-uri: improper output encoding
Questions about CVE-2026-6321
Is CVE-2026-6321 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of fast-uri are affected by CVE-2026-6321?
fast-uri from 3.0.0 before 3.1.1 and fast-uri before 2.4.1, per the GitHub advisory GHSA-q3j6-qgpj-74h6. The tables above give every range the sources list.
Which version fixes CVE-2026-6321?
3.1.1 and 2.4.1, per the GitHub advisory GHSA-q3j6-qgpj-74h6. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-6321?
High (7.5, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-6321?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.