An issue was discovered in Grafana Loki through 2.2.1.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
An issue was discovered in Grafana Loki through 2.2.1. The header value X-Scope-OrgID is used to construct file paths for rules files, and if crafted to conduct directory traversal such as ae ../../sensitive/path/in/deployment pathname, then Loki will attempt to parse a rules file at that location and include some of the contents in the error message.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | github.com/grafana/loki (Go) | before 2.3.0 | 2.3.0 | Patch available | GHSA-grj5-8x6q-hc9q |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/grafana/loki (Go) Vendor— Affected before 2.3.0 Fixed in 2.3.0 Patch available GHSA-grj5-8x6q-hc9q
Remediation
- Fix · GHSA-grj5-8x6q-hc9q github.com/grafana/loki (Go) Fixed in 2.3.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2.1 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
Not affected: 4 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-36156
- 2026-10-03 Alias added: GHSA-grj5-8x6q-hc9q
References
More Grafana Loki vulnerabilities
- TI-2026-17499 Loki Path Traversal - CVE-2021-36156 Bypass CVSS 3.1MEDIUM 5.3
Sources
- CVE-2021-36156 · CVE Program
- CVE-2021-36156 · NVD
- FIRST EPSS
- GHSA-grj5-8x6q-hc9q · GitHub Advisory Database · CC BY 4.0
- CVE-2021-36156 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences