Read the docs
TI-2021-14575 Aliases CVE-2021-36156GHSA-grj5-8x6q-hc9q

An issue was discovered in Grafana Loki through 2.2.1.

Priority LOW 27CWE-22Published · Updated

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

EPSS 0.01477 74th percentileScored 2026-11-07
Fix Partial github.com/grafana/loki (Go): 2.3.0Red Hat: 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—github.com/grafana/loki (Go)before 2.3.02.3.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:*up to 2.2.1VulnerableGrafana
  • cpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:* Versions up to 2.2.1 Vulnerable ·Grafana

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 →

ProductStatusPlan or fix
OpenShift Service Mesh 2.1AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 4AffectedNo 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

  1. 2026-10-02 Threatist record created from CVE-2021-36156
  2. 2026-10-03 Alias added: GHSA-grj5-8x6q-hc9q

References

  • TI-2026-17499 Loki Path Traversal - CVE-2021-36156 Bypass CVSS 3.1MEDIUM 5.3

Sources