CVE-2026-21726 PUBLISHED

Loki Path Traversal - CVE-2021-36156 Bypass

Assigner: GRAFANA
Reserved: 05.01.2026 Published: 15.04.2026 Updated: 15.04.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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 5.3

Product Status

Vendor Grafana
Product Loki
Versions Default: unaffected
  • affected from 2.3.0 to 3.5.9 (excl.)

References