Vulnerabilities · 2021 · Grafana
CVE-2021-36156
Grafana Loki vulnerability
An issue was discovered in Grafana Loki through 2.2.1. The header value X-Scope-OrgID is used to construct file paths for rules files, and if crafted to conduct directory traversal such as ae ../../sensitive/path/in/deployment pathname, then Loki will attempt to parse a rules file at that location and include some of the contents in the error message.
Affected products
Loki. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Grafana Loki runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Grafana products
CVE-2025-41115CVE-2025-4123CVE-2024-10452CVE-2024-9264CVE-2024-8996CVE-2024-8975CVE-2024-5526CVE-2024-1442All 84
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.