CVE-2021-43798BIT-grafana-2021-43798GHSA-8pjx-jj86-j47p
Grafana Path Traversal Vulnerability
Grafana Labs GrafanaGoApplications & CMS
CVSS
7.5HighExploit odds (EPSS)88.5%Chance of exploitation activity in the next 30 days, higher than 99% of CVEs. Scored 23 Oct 2026FIRST EPSS
CISA required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. CISA KEV
What fixes it
- 8.3.1Path parser & escaping, grafanaGitHub
- 8.2.7Path parser & escaping, grafanaGitHub
- 8.1.8Path parser & escaping, grafanaGitHub
- 8.0.7Path parser & escaping, grafanaGitHub
- 8.3.1github.com/grafana/grafana, GoOSV
go get github.com/grafana/grafana@v8.3.1 - 8.2.7github.com/grafana/grafana, GoOSV
go get github.com/grafana/grafana@v8.2.7
Show all 8 fixed versions
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Timeline
- 2 Dec 2021Exploit code publicMetasploit
- 7 Dec 2021, 18:25 UTCPublishedCVE List
- 9 Oct 2025Added to CISA KEVCISA KEV
Public exploit code and templates 3
- Auxiliary moduleGrafana Plugin Path Traversal 2 Dec 2021Metasploit
- Webapps exploitGrafana 8.3.0 - Directory Traversal and Arbitrary File Read 9 Dec 2021Exploit-DB
- Scanner templateGrafana v8.x - Arbitrary File ReadNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
Grafana contains a path traversal vulnerability that could allow access to local files.
Text from CVE List
Affected versions 9
- grafanaaffected: >= 8.0.0, < 8.0.7CVE List
- grafanaaffected: >= 8.1.0, < 8.1.8CVE List
- grafanaaffected: >= 8.2.0, < 8.2.7CVE List
- grafanaaffected: = 8.3.0CVE List
- Path parser & escaping, grafana8.0.0 - 8.3.0GitHub
- github.com/grafana/grafana, Gofrom 8.3.0, fixed in 8.3.1OSV
- github.com/grafana/grafana, Gofrom 8.2.0, fixed in 8.2.7OSV
- github.com/grafana/grafana, Gofrom 8.1.0, fixed in 8.1.8OSV
- github.com/grafana/grafana, Gofrom 8.0.0-beta1, fixed in 8.0.7OSV
References 7
- github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ceFixvia CVE List
- 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/Advisoryvia CISA KEV
- github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47pAdvisoryvia CVE List
- security.netapp.com/advisory/ntap-20211229-0004/Advisoryvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2021-43798Referencevia CISA KEV
- grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/Referencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798Referencevia CVE List