CVE-2021-43815Grafana
Medium 4.3
Follow: this CVE · Grafana · Grafana We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Grafana.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| grafana | grafana | < 7.5.12 |
| grafana | grafana | ≥ 8.0.0 < 8.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- grafana.com Patch Third Party Advisory
- security.netapp.com Third Party Advisory