CVE-2021-43798Grafana path traversal
- 7.5HighCVSS base score
- 88.5%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- YesKnown exploitedin CISA's KEV since 9 Oct 2025
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Grafana Path Traversal Vulnerability.
- Added
- 9 Oct 2025
- Fix due (US federal)
- 30 Oct 2025
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 9 Oct 2025.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Metasploit modules1 module
- Grafana Plugin Path Traversal (Metasploit module) (opens in a new tab)
auxiliary/scanner/http/grafana_plugin_traversalRank normaldisclosed 2 Dec 2021
Nuclei templates1 template
- Grafana v8.x - Arbitrary File Read (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-43798.yamlSeverity high
Exploit-DB1 entry
- Grafana 8.3.0 - Directory Traversal and Arbitrary File Read (Exploit-DB entry) (opens in a new tab)
EDB-ID 50581webapps, multiplepublished 9 Dec 2021Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 21 days later
· 21 days later
Published
- 4 years later
· 4 years later
Added to CISA KEV
Known exploited in the wild
- 12 days later
· 12 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 88.5% · top 0.2% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/grafana/grafanaGHSA-8pjx-jj86-j47p (opens in a new tab)
References
References9
- https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html (opens in a new tab)x_refsource_MISCx_transferred
- https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20211209 CVE-2021-43798 Grafana directory traversal (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20211210 CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for some .md and .csv files (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://security.netapp.com/advisory/ntap-20211229-0004/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0581 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8pjx-jj86-j47p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-43798)Record last updated .