CVE-2026-6321
HIGH 7.5CVSS 3.1fast-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.
- Published
- 4 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-q3j6-qgpj-74h6
- Sources
- NVDJSONOSV GHSA-q3j6-qgpj-74h6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openjsf | fast-uricpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* |
< 3.1.1 | 3.1.1 |
| OSV | npm | fast-uri | >= 3.0.0, < 3.1.1 | 3.1.1 |
| OSV | npm | fast-uri | < 2.4.1 | 2.4.1 |
References
- https://cna.openjsf.org/security-advisories.html · Vendor Advisory, WEB
- https://github.com/fastify/fast-uri/security/advisories/GHSA-q3j6-qgpj-74h6 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:19238 · WEB
- https://access.redhat.com/errata/RHSA-2026:20338 · WEB
- https://access.redhat.com/errata/RHSA-2026:21338 · WEB
- https://access.redhat.com/errata/RHSA-2026:24473 · WEB
- https://access.redhat.com/errata/RHSA-2026:24766 · WEB
- https://access.redhat.com/errata/RHSA-2026:24866 · WEB
- https://access.redhat.com/errata/RHSA-2026:24977 · WEB
- https://access.redhat.com/errata/RHSA-2026:25089 · WEB
- https://access.redhat.com/errata/RHSA-2026:25123 · WEB
- https://access.redhat.com/errata/RHSA-2026:26214 · WEB
- https://access.redhat.com/errata/RHSA-2026:26234 · WEB
- https://access.redhat.com/errata/RHSA-2026:26416 · WEB
- https://access.redhat.com/errata/RHSA-2026:26420 · WEB
- https://access.redhat.com/errata/RHSA-2026:34342 · WEB
- https://access.redhat.com/errata/RHSA-2026:37385 · WEB
- https://access.redhat.com/errata/RHSA-2026:42078 · WEB
- https://access.redhat.com/errata/RHSA-2026:42079 · WEB
- https://access.redhat.com/errata/RHSA-2026:56366 · WEB
- https://access.redhat.com/errata/RHSA-2026:56431 · WEB
- https://access.redhat.com/errata/RHSA-2026:56928 · WEB
- https://access.redhat.com/errata/RHSA-2026:57013 · WEB
- https://access.redhat.com/security/cve/CVE-2026-6321 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2466582 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6321.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-6321 · ADVISORY
- https://github.com/fastify/fast-uri/releases/tag/v3.1.1 · WEB
- https://github.com/fastify/fast-uri/releases/tag/v2.4.1 · WEB
- https://github.com/fastify/fast-uri · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 May 2026)