Grafana Loki vulnerabilities
3 vulnerabilities
Known vulnerabilities in Grafana Loki, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
PrioritiseCVE-2026-21729grafana · lokiLoki detected_fields query limits results in unbounded memory allocationLoki queries with large limits can cause large memory allocations which can impact the availability of the service, depending on its deployment strategy.CVSS7.5HighEPSS0.26%RoutineCVE-2026-21726grafana · loki +45 moreLoki Path Traversal - CVE-2021-36156 BypassThe 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.CVSS5.3MediumEPSS0.92%RoutineCVE-2021-36156grafana · loki +1 moregrafana lokiAn 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.CVSS5.3MediumEPSS2.55%