Skip to main content
← All vulnerabilities
CVE-2026-21726GO-2026-5115GHSA-497X-RRR9-68JP

Loki Path Traversal - CVE-2021-36156 Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.5.9, 3.6.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Grafana Loki

    From 2.3.0 · fixed in 3.5.9

  • github.com/grafana/lokiGo

    All versions

  • github.com/grafana/loki/v3Go

    fixed in 3.6.4

References 1

grafana.com