# CVE-2021-43798: Grafana path traversal

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: yes. In CISA's catalogue since 2025-10-09. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 88.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-12-07T18:25:10.000Z
- Modified: 2026-09-08T08:47:49.990Z
- Also known as: GHSA-8pjx-jj86-j47p, BIT-GRAFANA-2021-43798
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- grafana grafana: >= 8.0.0, < 8.0.7; >= 8.1.0, < 8.1.8; >= 8.2.0, < 8.2.7; = 8.3.0; from 8.0.1 before 8.0.7; from 8.1.0 before 8.1.8; from 8.2.0 before 8.2.7; 8.0.0; 8.3.0
- github.com/grafana/grafana (Go): from 8.3.0 before 8.3.1; from 8.2.0 before 8.2.7; from 8.1.0 before 8.1.8; from 8.0.0-beta1 before 8.0.7
- grafana (Bitnami): from 8.0.1 before 8.0.7; from 8.1.0 before 8.1.8; from 8.2.0 before 8.2.7; from 8.3.0 before 8.3.1
- Grafana Labs Grafana: no versions given

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html> (exploit, advisory, third-party-advisory, vdb-entry, web)
- <http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html> (exploit, advisory, third-party-advisory, vdb-entry, web)
- <https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p> (advisory, patch, vendor-advisory, web)
- <https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce> (advisory, patch, third-party-advisory, web)
- <https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/> (advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/12/09/2> (advisory, mailing-list, patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/12/10/4> (advisory, mailing-list, patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20211229-0004/> (advisory, third-party-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43798> (advisory, kev, web)
- <https://github.com/grafana/grafana> (package)
- <https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal> (web)
- <https://security.netapp.com/advisory/ntap-20211229-0004> (web)
- <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/> (kev)

## Sources

- CVE List: [CVE-2021-43798](https://www.cve.org/CVERecord?id=CVE-2021-43798), CVE Terms of Use, modified 2025-10-21
- GitHub Advisory Database: [GHSA-8pjx-jj86-j47p](https://github.com/advisories/GHSA-8pjx-jj86-j47p), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-43798](https://nvd.nist.gov/vuln/detail/CVE-2021-43798), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GRAFANA-2021-43798](https://osv.dev/vulnerability/BIT-GRAFANA-2021-43798), Apache-2.0, modified 2026-09-08
- CISA KEV: [CVE-2021-43798](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-43798), CC0-1.0, modified 2025-10-09

---

Page: https://cve.day/CVE-2021-43798 · Whole record: https://cve.day/CVE-2021-43798.json · Rebuilt by cve.day 2026-11-25T22:24:36.166Z
