~ / search / GHSA-497x-rrr9-68jp

GHSA-497x-rrr9-68jp

Grafana Loki Path Traversal - CVE-2021-36156 Bypass

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-21726

Packages

EcosystemPackageAffectedFixed in
Go github.com/grafana/loki/v3 < 3.6.4 3.6.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.