Live threats

All CVEs / Grafana

CVE-2021-43815Grafana

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
Dec 10, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grafana.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/grafana/grafana ≥ 8.0.0-beta3 < 8.3.2 8.3.2 go get github.com/grafana/grafana@v8.3.2

Per OSV / GitHub Advisories (GHSA-7533-c8qv-jm9m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
grafanagrafana< 7.5.12
grafanagrafana≥ 8.0.0 < 8.3.2

Official sources

References

Links published by the sources. Open them with care.