CVE-2026-6321
fast-uri vulnerable to path traversal via percent-encoded dot segments
- State
- Published
- Severity
- 7.5 High
- Published
- May 4, 2026
- Updated
- Sep 10, 2026
- Reserved
- Apr 14, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | openjs |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | redhat-SADP |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
fast-urifast-uri |
|
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-6321vdb-entry
- RHBZ#2466582issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6321.json
- https://access.redhat.com/errata/RHSA-2026:42078vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42079vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34342vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:37385vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25089vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24473vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24766vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24866vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:21338vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26234vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:20338vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24977vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25123vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26416vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56431vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26420vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56366vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19238vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57013vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56928vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26214vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.