CVE-2021-43798Grafana path traversal
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.
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 7.5 | HIGH | 3.1GitHub_M (CNA) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 5.0 | MEDIUM | 2.0NVD | AV:N/AC:L/Au:N/C:P/I:N/A:N |
CISA required action
⚡ Known exploited · remediation due Oct 30, 2025
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Details
- CVE ID
- CVE-2021-43798
- Status
- Analyzed
- Assigner (CNA)
- GitHub_M
- Published
- Dec 7, 2021
- Last modified
- 2026-06-17 04:11 UTC
- Weaknesses
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
As published by the CNA in the CVE record.
grafanagrafana4 version ranges
- >= 8.0.0, < 8.0.7
- >= 8.1.0, < 8.1.8
- >= 8.2.0, < 8.2.7
- = 8.3.0
References
- packetstormsecurity.com http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html
- packetstormsecurity.com http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html
- openwall.com http://www.openwall.com/lists/oss-security/2021/12/09/2
- openwall.com http://www.openwall.com/lists/oss-security/2021/12/10/4
- github.com https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce
- github.com https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
- grafana.com https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/
- security.netapp.com https://security.netapp.com/advisory/ntap-20211229-0004/
- cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798