#VU122161 Path traversal in Loki - CVE-2026-21726
Published: January 30, 2026
Loki
Grafana Labs
Description
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences within the "/loki/api/v1/rules/{namespace}" API endpoint. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Note, the vulnerability exists due to incomplete fix for #VU64412 (CVE-2021-36156).