Grafana Loki Path Traversal - CVE-2021-36156 Bypass
Moderate severity
GitHub Reviewed
Published
Apr 15, 2026
to the GitHub Advisory Database
•
Updated Apr 27, 2026
Description
Published by the National Vulnerability Database
Apr 15, 2026
Published to the GitHub Advisory Database
Apr 15, 2026
Reviewed
Apr 16, 2026
Last updated
Apr 27, 2026
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