{"id":"CVE-2026-21726","aliases":["CVE-2026-21726","GHSA-497x-rrr9-68jp","GO-2026-5115"],"related":["CGA-w6q8-cj25-57rp"],"kind":"vulnerability","state":"published","title":"Loki Path Traversal - CVE-2021-36156 Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Grafana Loki Path Traversal - CVE-2021-36156 Bypass in github.com/grafana/loki","format":"markdown","source":"go"},{"lang":"es","text":"La corrección de CVE-2021-36156 valida el parámetro namespace para secuencias de salto de ruta después de una única decodificación URL, mediante doble codificación, un atacante puede leer archivos en el endpoint de la API de Ruler /loki/api/v1/rules/{namespace}\n\nGracias a Prasanth Sundararajan por informar sobre esta vulnerabilidad.","source":"nvd"}],"published":"2026-04-15T19:24:31.268Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"2.3.0","fixed":"3.5.9","status":"affected"}],"vendor":"Grafana","product":"Loki","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.4"}],"ecosystem":"Go","package":"github.com/grafana/loki/v3","purl":"pkg:golang/github.com/grafana/loki/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/loki","purl":"pkg:golang/github.com/grafana/loki","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.6.4"}],"ecosystem":"Go","package":"github.com/grafana/loki/v3","purl":"pkg:golang/github.com/grafana/loki/v3","source":"go"},{"ranges":[{"status":"affected","fixed":"3.6.4"}],"vendor":"grafana","product":"loki","cpe":"cpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-21726","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21726","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/grafana/loki","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-497x-rrr9-68jp","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"GRAFANA","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-15T20:01:24.769Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21726","url":"https://www.cve.org/CVERecord?id=CVE-2026-21726","licence":"CVE Terms of Use","modified":"2026-08-27T17:22:30.899Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-497x-rrr9-68jp","url":"https://github.com/advisories/GHSA-497x-rrr9-68jp","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:00.938Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5115","url":"https://pkg.go.dev/vuln/GO-2026-5115","licence":"CC-BY-4.0","modified":"2026-07-07T22:59:27.802Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21726","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21726","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.861Z","epss":{"score":0.009,"percentile":0.60723,"date":"2026-12-01T12:00:22.000Z"}}