Directory Traversal Vulnerability in Grafana Loki

5.3MEDIUM

CVE-2021-36156

Key Information:

Vendor

Grafana

Status
CVE ID
CVE ID:
CVE-2021-36156
Vendor
CVE Published:
3 August 2021

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Loki. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is medium (5.3).

What is CVE-2021-36156?

A directory traversal vulnerability exists in Grafana Loki prior to version 2.3.0, where the X-Scope-OrgID header can be manipulated to specify arbitrary file paths. This flaw allows malicious actors to read sensitive files from the server by crafting the header value to traverse directories, potentially exposing sensitive information in error messages parsed by Loki.

References

Server-side Request Forgery in mcp-grafana

CVE-2026-19516
GrafanaGrafana Mcp ServerπŸ˜„πŸ‘Ύ9.1CRITICAL

Remote Code Execution Vulnerability in Grafana Enterprise Plugin

CVE-2026-27876
GrafanaGrafanaπŸ˜„πŸ‘Ύ9.1CRITICAL

HTML Injection in Grafana

CVE-2025-41117
GrafanaGrafana/grafana6.8MEDIUM
View more Grafana vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.