CVE-2026-21726
MEDIUM 5.3CVSS 3.1Grafana Loki Path Traversal - CVE-2021-36156 Bypass
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.
- Published
- 15 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@grafana.com
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-601
- Also known as
- GHSA-497x-rrr9-68jpGO-2026-5115
- Sources
- NVDJSONOSV GHSA-497x-rrr9-68jpJSONOSV GO-2026-5115JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@grafana.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | grafana | lokicpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:* |
< 3.6.4 | 3.6.4 |
| OSV | Go | github.com/grafana/loki/v3 | < 3.6.4 | 3.6.4 |
| OSV | Go | github.com/grafana/loki | all versions |
References
- https://grafana.com/security/security-advisories/cve-2026-21726 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-21726 · ADVISORY
- https://github.com/grafana/loki · PACKAGE
- https://github.com/advisories/GHSA-497x-rrr9-68jp · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Apr 2026)