CVEs / CVE-2021-43798
CVE-2021-43798: Grafana Path Traversal Vulnerability
- Known exploited in the CISA KEV catalog since 9 Oct 2025
- medium 5 CVSS 2.0 (NVD)
- EPSS 88.5% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2021-43798
Summary
Grafana contains a path traversal vulnerability that could allow access to local files.
Description
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| grafana grafana | >= 8.0.0, < 8.0.7 | — |
| grafana grafana | >= 8.1.0, < 8.1.8 | — |
| grafana grafana | >= 8.2.0, < 8.2.7 | — |
| grafana grafana | = 8.3.0 | — |
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana (Go) | from 8.3.0, before 8.3.1 | 8.3.1 |
| github.com/grafana/grafana (Go) | from 8.2.0, before 8.2.7 | 8.2.7 |
| github.com/grafana/grafana (Go) | from 8.1.0, before 8.1.8 | 8.1.8 |
| github.com/grafana/grafana (Go) | from 8.0.0-beta1, before 8.0.7 | 8.0.7 |
Package versions from GHSA-8pjx-jj86-j47p.
Exploitation
| In CISA KEV since | 9 Oct 2025 |
|---|---|
| Due date for US federal agencies | 30 Oct 2025 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 2.0 | 5 mediumAV:N/AC:L/Au:N/C:P/I:N/A:NScored by NVD |
|---|---|
| Weakness | CWE-22 |
References
- CVE-2021-43798 on NVD
- CVE-2021-43798 in the CISA KEV catalog
- https://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/ (cited by CISA)
- CVE-2021-43798 on OSV
- http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List, Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch, Third Party Advisory
- https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch, Third Party Advisory
- https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch, Vendor Advisory
- https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory
- https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.