CVE-2021-43815

Grafana directory traversal for `.cvs` files

MEDIUM
4.3
CVSS Score
Published: December 10, 2021 at 08:40 PM UTC
Updated: June 17, 2026 at 04:11 AM UTC
1 product affected across 1 vendorGrafana

Using grafana by grafana?

Get instant alerts when new vulnerabilities affect grafana - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 2%

Description

Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 has a directory traversal for arbitrary .csv files. It only affects instances that have the developer testing tool called TestData DB data source enabled and configured. The vulnerability is limited in scope, and only allows access to files with the extension .csv to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Versions 8.3.2 and 7.5.12 contain a patch for this issue. There is a workaround available for users who cannot upgrade. Running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 7.5.12v < 8.3.28.0.0 ≤ v < 8.3.2
Affected range stops below 7.5.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.2, so it looks safe — our inference, not a vendor statement

CVSS

4.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card