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.
References
| Link | Resource |
|---|---|
| https://grafana.com/security/security-advisories/cve-2026-21726 | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-04-15 20:16
Updated : 2026-06-17 13:20
NVD link : CVE-2026-21726
Mitre link : CVE-2026-21726
CVE.ORG link : CVE-2026-21726
JSON object : View
Products Affected
grafana
- loki
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
