CVE-2026-21726: Loki Path Traversal - CVE-2021-36156 Bypass
Vulnerability summary
CVE-2026-21726 is a medium (CVSS 5.3) vulnerability in grafana loki. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 61.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 15-04-2026PublishedVulnerability first disclosed.
- 27-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · GoEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
Increase +0.51 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard39 products
- commercial-grafana-11.6< 11.6.16-r0
- commercial-grafana-12.1All versions (No fix recorded)
- commercial-grafana-12.2< 12.2.10-r0
- commercial-grafana-12.3< 12.3.8-r0
- commercial-grafana-12.4< 12.4.5-r0
Wolfi4 products
- grafana-12.3< 12.3.7-r0
- grafana-12.4< 12.4.4-r0
- grafana-13.0< 13.0.2-r0
- grafana-alloy< 1.15.1-r2
Github.com/grafana1 product
- lokiAll versions (No fix recorded)
Github.com/grafana/loki1 product
- v3< 3.6.4
Grafana1 product
- loki≥ 2.3.0, < 3.5.9 | < 3.6.4
5 vendors · 46 products
References
5 links- github.com/grafana/lokiPACKAGE