What’s Vulnerable › Vulnerabilities

CVE-2026-21726: Loki Path Traversal - CVE-2021-36156 Bypass

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.

Affected products

How to fix

Upgrade to a fixed version: Grafana Loki 3.6.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-21726 or the next vulnerability affects your stack