{"id":"CVE-2026-21726","published":"2026-04-15T19:24:31Z","modified":"2026-08-27T17:22:30Z","title":"Loki Path Traversal - CVE-2021-36156 Bypass","vendor":"Grafana","product":"Loki","tier":"tail","description":{"text":"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}\n\nThanks to Prasanth Sundararajan for reporting this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00425,"percentile":0.377,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-21726","tags":["vendor-advisory"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":7.54},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"grafana","affectedVersions":[{"vendor":"Grafana","product":"Loki","versions":[">= 2.3.0, < 3.5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-15T20:01:24.769436Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/grafana/loki/v3","vulnerableRanges":["<3.6.4"],"patched":["3.6.4"],"from":["GHSA-497x-rrr9-68jp","GO-2026-5115"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/grafana/loki","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5115"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-23100","exploited":false,"provenance":"source"}}