Medium, CVSS 5.3GoPublished
Grafana Loki Path Traversal - CVE-2021-36156 Bypass
CVE-2026-21726 · GHSA-497x-rrr9-68jp
- Affected
- Go github.com/grafana/loki/v3 < 3.6.4
- Fixed in
- 3.6.4· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.6.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.