CVE-2021-43798Grafana Labs Grafana
Unauthenticated Directory Traversal in Grafana
High 7.5 KEV No auth neededHigh EPSS
Follow: this CVE · Grafana Labs · Grafana Labs Grafana We alert you by email or Slack (account required).
- Priority
- 69
- CVSS 3.1
- 7.5
- EPSS
- 88.5% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Oct 9, 2025
- CISA deadline
- Oct 30, 2025
- Ransomware use
- Unknown
- Published
- Dec 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Grafana versions 8.0.0 through 8.3.0 (except patched versions) contain a directory traversal vulnerability allowing unauthenticated access to local files via the `/public/plugins/` path. A remote attacker can read sensitive files from the server. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: `<grafana_host_url>/public/plugins//`, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.
Exploitation confirmed by CISA
Grafana contains a path traversal vulnerability that could allow access to local files.
Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 8.0.7, 8.1.8, 8.2.7, 8.3.1
Upgrade Grafana to the corresponding patched version: 8.0.7, 8.1.8, 8.2.7, or 8.3.1 depending on your current branch.
- Apply the vendor's security update for Grafana.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was October 30, 2025.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/grafana/grafana |
≥ 8.3.0 < 8.3.1 |
8.3.1 |
go get github.com/grafana/grafana@v8.3.1 |
| Go | github.com/grafana/grafana |
≥ 8.2.0 < 8.2.7 |
8.2.7 |
go get github.com/grafana/grafana@v8.2.7 |
| Go | github.com/grafana/grafana |
≥ 8.1.0 < 8.1.8 |
8.1.8 |
go get github.com/grafana/grafana@v8.1.8 |
| Go | github.com/grafana/grafana |
≥ 8.0.0-beta1 < 8.0.7 |
8.0.7 |
go get github.com/grafana/grafana@v8.0.7 |
Per OSV / GitHub Advisories (GHSA-8pjx-jj86-j47p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| grafana | grafana | ≥ 8.0.1 < 8.0.7 |
| grafana | grafana | ≥ 8.1.0 < 8.1.8 |
| grafana | grafana | ≥ 8.2.0 < 8.2.7 |
| grafana | grafana | 8.0.0 |
| grafana | grafana | 8.0.0 |
| grafana | grafana | 8.0.0 |
| grafana | grafana | 8.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Vendor Advisory
- grafana.com Vendor Advisory
- security.netapp.com Third Party Advisory
- www.cisa.gov US Government Resource