# CVE-2021-43798

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.

- Page: https://www.vulneraibility.com/cve/CVE-2021-43798
- CVSS: 7.5
- Known exploited: yes, in CISA KEV since 2025-10-09; CISA due date 2025-10-30
- EPSS: 88.50%
- Public exploit code: 1 on Exploit-DB · 1 Metasploit module · 59 GitHub proofs of concept · 1 Nuclei template (first 2021-12-06)
- CISA SSVC: exploitation active, automatable yes, technical impact partial (assessed 2025-10-09)
- Weakness: CWE-22
- Also known as: GHSA-8pjx-jj86-j47p
- Published: 2021-12-07

## Affected versions

- grafana: affected >= 8.0.0 and < 8.0.7; >= 8.1.0 and < 8.1.8; >= 8.2.0 and < 8.2.7; = 8.3.0

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
- [other] https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce
- [other] http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html
- [other] https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/
- [other] http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html
- [other] http://www.openwall.com/lists/oss-security/2021/12/09/2
- [other] http://www.openwall.com/lists/oss-security/2021/12/10/4
- [other] https://security.netapp.com/advisory/ntap-20211229-0004/
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
