# CVE-2026-21726: Loki Path Traversal - CVE-2021-36156 Bypass

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-15 · Modified: 2026-08-27
- Aliases: CGA-2hpg-3v2w-xp83, CGA-c8pf-r69r-5h46, CGA-gq42-q538-2fg8, CGA-m3c6-6gwp-42h8, CGA-p7hj-v3jh-pp9f, CGA-rvj4-r26v-mm9q, CGA-wgrp-xf9q-2pf6, CGA-x2m5-7h25-5xqw, GHSA-497x-rrr9-68jp, GO-2026-5115, CGA-2444-j48h-2839, CGA-27p2-f9jc-2687, CGA-29fg-gq43-59xp, CGA-29mh-3ph4-pr3f, CGA-2fjc-4cjr-x736, CGA-34cp-6jm8-xvhg, CGA-3mhw-wqmg-rr92, CGA-3mpr-vqwm-pwfw, CGA-3rjr-cwhh-cq89, CGA-44ph-954h-9p8m, CGA-4rmp-ggh8-42v5, CGA-4vhm-77fw-c8xc, CGA-52qm-4p36-8mv6, CGA-5934-fw6w-7g5x, CGA-59w8-g459-m26v, CGA-5c68-x8gp-ww5x, CGA-5vv7-r5r6-wq6v, CGA-5vwx-r7fq-9cfr, CGA-6864-cr3g-qf56, CGA-6r46-g78j-j4j3, CGA-7fg2-xc2r-xgxf, CGA-7m74-7xh3-gwr9, CGA-834p-6vpc-qqhv, CGA-87qp-7rjv-hq8p, CGA-8f4p-mxh3-wg3c, CGA-8fr8-wr5r-rf44, CGA-8j8q-2vmv-mh5f, CGA-9hhf-2v3m-xphv, CGA-9jxm-q42g-f3j2, CGA-9wf6-7jm7-88ph, CGA-c2c5-9w9m-g29f, CGA-c63j-r75w-49hw, CGA-cph8-8633-59vh, CGA-cpw3-jv88-w797, CGA-cxqq-vvx5-8c8c, CGA-f2rc-4pj8-gwhw, CGA-f4rf-p698-gp98, CGA-fjfj-67c4-wxr3, CGA-fprg-fjf5-phhx, CGA-fqg6-23g2-68v7, CGA-g7x8-mf5v-crpc, CGA-h437-gc5r-vg46, CGA-h75g-gwp5-8p49, CGA-hc48-3mjv-mw4h, CGA-hjhp-h38c-x9q9, CGA-j7h6-xmwj-68j2, CGA-j873-xqm4-m48h, CGA-jf45-8hcx-9834, CGA-jp23-p2qr-cm5q, CGA-m2v8-r7m5-gvgr, CGA-m78r-qgxr-c482, CGA-p22r-qc24-2hqf, CGA-p5m3-3vgf-2gf8, CGA-ph57-7qw7-87q8, CGA-ph83-hrp5-9qxj, CGA-prhf-2j8q-ff7f, CGA-pvpm-j56r-qm7r, CGA-qfwg-w753-jw79, CGA-qg63-rcpr-792f, CGA-qgh3-7wqv-qrc2, CGA-r373-227q-48cq, CGA-rxcq-86w2-q892, CGA-v78x-f72c-44r2, CGA-w3w6-6prh-25rq, CGA-w45p-xvp5-jw3x, CGA-wfcg-4457-7vcg, CGA-whjx-f762-67gw, CGA-wjjr-c88j-78rh, CGA-wmmg-54xf-jmvp, CGA-x6m6-m4g4-fghw
- Record: https://cvemate.com/vulnerability/CVE-2026-21726 · JSON: https://cvemate.com/vulnerability/CVE-2026-21726/json

## 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}

Thanks to Prasanth Sundararajan for reporting this vulnerability.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.92%, percentile 61.489%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 46)

- chainguard commercial-grafana-11.6 (Chainguard): \< 11.6.16-r0
- chainguard commercial-grafana-12.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-grafana-12.2 (Chainguard): \< 12.2.10-r0
- chainguard commercial-grafana-12.3 (Chainguard): \< 12.3.8-r0
- chainguard commercial-grafana-12.4 (Chainguard): \< 12.4.5-r0
- chainguard grafana-11.5 (Chainguard): All versions (No fix recorded)
- chainguard grafana-11.6 (Chainguard): \< 11.6.15-r0
- chainguard grafana-12.0 (Chainguard): All versions (No fix recorded)
- chainguard grafana-12.1 (Chainguard): All versions (No fix recorded)
- chainguard grafana-12.2 (Chainguard): \< 12.2.9-r0
- chainguard grafana-12.3 (Chainguard): \< 12.3.7-r0
- chainguard grafana-12.4 (Chainguard): \< 12.4.4-r0
- chainguard grafana-13.0 (Chainguard): \< 13.0.2-r0
- chainguard grafana-alloy (Chainguard): \< 1.15.1-r2
- chainguard grafana-alloy-fips (Chainguard): \< 1.15.1-r1
- chainguard grafana-fips-11.5 (Chainguard): All versions (No fix recorded)
- chainguard grafana-fips-11.6 (Chainguard): \< 11.6.15-r0
- chainguard grafana-fips-12.0 (Chainguard): All versions (No fix recorded)
- chainguard grafana-fips-12.1 (Chainguard): All versions (No fix recorded)
- chainguard grafana-fips-12.2 (Chainguard): \< 12.2.9-r0

## References

- <https://grafana.com/security/security-advisories/cve-2026-21726>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21726.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21726>
- <https://github.com/grafana/loki>
- <https://github.com/advisories/GHSA-497x-rrr9-68jp>

---

Data as of 2026-12-05T10:24:59.444Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
