Live threats

All CVEs / Grafana

CVE-2026-21726Grafana Loki

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Loki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
grafanaloki< 3.6.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.