{"id":"CVE-2026-6321","summary":"fast-uri vulnerable to path traversal via percent-encoded dot segments","details":"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 \u003c= 3.1.0 are affected. Update to 3.1.1 or later.","aliases":["GHSA-q3j6-qgpj-74h6"],"modified":"2026-07-12T03:55:01.945987804Z","published":"2026-05-04T19:31:57.253Z","related":["CGA-9j5f-2hwm-8hfc","openSUSE-SU-2026:10750-1","openSUSE-SU-2026:11178-1","openSUSE-SU-2026:21173-1","openSUSE-SU-2026:21266-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6321.json","cna_assigner":"openjs","cwe_ids":["CWE-22"]},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6321.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19238"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20338"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:21338"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:24473"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:24766"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25089"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25123"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26214"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26234"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26416"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26420"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34342"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37385"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-6321"},{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6321.json"},{"type":"ADVISORY","url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-q3j6-qgpj-74h6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6321"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2466582"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastify/fast-uri","events":[{"introduced":"0"},{"fixed":"cea547c91c6aae610041b17b75792ca4aa035a6d"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.1"}]}}],"versions":["v3.1.0","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.0.1","v1.0.0","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-6321.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}