5.3Medium

CVE-2026-21726Loki Path Traversal - CVE-2021-36156 Bypass

Grafana Loki Published: (7 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Grafana Loki 2.3.0 – < 3.5.9

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:* < 3.6.4