SB2026013060 - Path traversal in Grafana Loki
Published: January 30, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2026-21726)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
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).
Remediation
Install update from vendor's website.