CVE-2026-6321
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by openjs
Exploit likelihood
0.65% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openjs
Also known as
GHSA-q3j6-qgpj-74h6

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.

Affected

Product or packageVersionsReported by
fast-uri fast-uribefore 3.1.1
Not affected: 3.1.1
CVE List
io.hawt-projectNot specifiedCVE List
automation-gatewayNot specified
Not affected: from 0:2.5.20260715-1.el8ap before *, from 0:2.5.20260715-1.el9ap before *
CVE List
automation-platform-uiNot specified
Not affected: from 0:2.6.11-1.el9ap before *
CVE List
rh-podman-desktopNot specified
Not affected: from 0:1.1.1-1.el10_2 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9Not specified
Not affected: from 1782840519 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9Not specified
Not affected: from 1782839981 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9Not specified
Not affected: from 1782839193 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-rhel9Not specified
Not affected: from 1782838753 before *
CVE List
cluster-observability-operator/logging-console-plugin-pf4-rhel9Not specified
Not affected: from 1782839279 before *
CVE List
cluster-observability-operator/logging-console-plugin-pf5-rhel9Not specified
Not affected: from 1782840539 before *
CVE List
cluster-observability-operator/logging-console-plugin-rhel9Not specified
Not affected: from 1782841925 before *
CVE List

All scores

openjs7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

fast-uri v3.1.0 and earlier decodes percent-encoded path separators (%2F) and dot segments (%2E) before applying dot-segment removal in normalize() and equal(). This makes encoded path data behave like real / and .., so distinct URIs collapse onto the same normalized path.

For example, http://example.com/public/%2e%2e/admin normalizes to http://example.com/admin, and equal() considers them the same URI.

Applications that normalize or compare attacker-controlled URLs to enforce path-based policy can be bypassed. A path that looks confined under an allowed prefix can normalize to a different location.

Patches

Upgrade to fast-uri >= 3.1.1, or if you are in the v2.x release line, v2.4.1

Workarounds

None. Upgrade to the patched version.

NVD (es)

fast-uri decodificaba los separadores de ruta codificados por porcentaje y los segmentos de punto antes de aplicar la eliminación de segmentos de punto en sus funciones normalize() y equal(). Los datos de ruta codificados eran tratados como barras diagonales reales y referencias a directorios padre, por lo que URIs distintos podían colapsar en la misma ruta normalizada. Las aplicaciones que normalizan o comparan URLs controladas por el atacante para aplicar políticas basadas en rutas pueden ser eludidas, con una ruta que parece confinada bajo un prefijo permitido normalizándose a una ubicación diferente. Las versiones menor o igual que 3.1.0 están afectadas. Actualice a la versión 3.1.1 o posterior.

References

https://github.com/fastify/fast-uri/security/advisories/GHSA-q3j6-qgpj-74h6vendor-advisory, web
https://cna.openjsf.org/security-advisories.htmlvendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-6321vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2466582issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6321.jsonweb
https://access.redhat.com/errata/RHSA-2026:42078vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:42079vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:34342vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:37385vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:25089vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:24473vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:24766vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-6321 changed 2026-09-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-q3j6-qgpj-74h6 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-6321 changed 2026-11-11Public domain