CVE-2026-21726
JSON

5.3medium

Loki Path Traversal - CVE-2021-36156 Bypass

Severity
5.3medium CVSS:3.1 by GRAFANA
Exploit likelihood
0.90% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GRAFANA
Also known as
GHSA-497x-rrr9-68jpGO-2026-5115

Description

The CVE-2021-36156 fix validates the namespace parameter for path traversal sequences after a single URL decode, by double encoding, an attacker can read files at the Ruler API endpoint /loki/api/v1/rules/{namespace} Thanks to Prasanth Sundararajan for reporting this vulnerability.

Affected

Product or packageVersionsReported by
Grafana Lokifrom 2.3.0 before 3.5.9, before 3.6.4CVE List, NVD
github.com/grafana/loki/v3 (Go)before 3.6.4GitHub Advisory Database, Go Vulnerability Database
github.com/grafana/loki (Go)all versionsGo Vulnerability Database

All scores

GRAFANA5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-22CWE-601

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

What each source says

CVE List

The CVE-2021-36156 fix validates the namespace parameter for path traversal sequences after a single URL decode, by double encoding, an attacker can read files at the Ruler API endpoint /loki/api/v1/rules/{namespace} Thanks to Prasanth Sundararajan for reporting this vulnerability.

Go Vulnerability Database

Grafana Loki Path Traversal - CVE-2021-36156 Bypass in github.com/grafana/loki

NVD (es)

La corrección de CVE-2021-36156 valida el parámetro namespace para secuencias de salto de ruta después de una única decodificación URL, mediante doble codificación, un atacante puede leer archivos en el endpoint de la API de Ruler /loki/api/v1/rules/{namespace} Gracias a Prasanth Sundararajan por informar sobre esta vulnerabilidad.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-21726 changed 2026-08-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-497x-rrr9-68jp changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5115 changed 2026-07-07CC-BY-4.0
NVDCVE-2026-21726 changed 2026-10-26Public domain