Path Traversal in Grafana Loki
CVE-2026-21726
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (32.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 32.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Grafana Loki — versions 2.3.0
Weakness classification (CWE)
References
- grafana.com/security/security-advisories/cve-2026-21726 (vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-21726?
- CVE-2026-21726 is a medium-severity vulnerability in Grafana Loki, classified under Path Traversal. CVSS score: 5.3/10. Published 2026-04-15.
- How severe is CVE-2026-21726?
- Medium severity. CVSS v3 base score is 5.3 out of 10.