CVE-2026-21726Grafana Loki
Medium 5.3 No auth needed
Follow: this CVE · Grafana · Grafana Loki We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 15, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Loki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/grafana/loki |
all |
no fixed version | — |
| Go | github.com/grafana/loki/v3 |
< 3.6.4 |
3.6.4 |
go get github.com/grafana/loki/v3@v3.6.4 |
| Go | github.com/grafana/loki/v3 |
< 3.6.4 |
3.6.4 |
go get github.com/grafana/loki/v3@v3.6.4 |
Per OSV / GitHub Advisories (GO-2026-5115, GHSA-497x-rrr9-68jp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| grafana | loki | < 3.6.4 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- grafana.com Vendor Advisory