What is 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: `/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.
The record classifies CVE-2021-43798 under weakness class CWE-22. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 1783 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 7.5 — HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS (FIRST)
- 88.5% probability of exploitation in the next 30 days, higher than 99.7% of all scored CVEs
- CISA KEV
- Listed since 2025-10-09, federal remediation deadline 2025-10-30
- Threadlinqs priority
- 9/10 — CISA KEV-listed, which Threadlinqs floors at 9
- Published
- 2021-12-07, last modified 2025-10-21
Is CVE-2021-43798 being exploited?
CISA added CVE-2021-43798 to the Known Exploited Vulnerabilities catalog on 2025-10-09, which means the agency holds evidence of exploitation in the wild; US federal civilian agencies had to remediate it by 2025-10-30 under BOD 22-01. Weaponised exploit code for CVE-2021-43798 is publicly available. 11 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (http/cves/2021/CVE-2021-43798.yaml). It currently carries a trending score of 50 in the Threadlinqs vulnerability feed.
- jas502n/Grafana-CVE-2021-43798 (github)
- A-D-Team/grafanaExp (github)
- pedrohavay/exploit-grafana-CVE-2021-43798 (github)
- taythebot/CVE-2021-43798 (github)
- zer0yu/CVE-2021-43798 (github)
- Mr-xn/CVE-2021-43798 (github)
- MoCh3n/CVE-2021-43798-grafana_fileread (github)
- ScorpionsMAX/CVE-2021-43798-Grafana-POC (github)
Affected products and versions
- grafana: grafana
Affected software packages:
go:github.com/grafana/grafana— patched in 8.3.1go:github.com/grafana/grafana— patched in 8.2.7go:github.com/grafana/grafana— patched in 8.1.8go:github.com/grafana/grafana— patched in 8.0.7
How to fix CVE-2021-43798
The record marks a vendor fix as available for CVE-2021-43798. Fixed versions are recorded for 4 packages: go:github.com/grafana/grafana 8.3.1, go:github.com/grafana/grafana 8.2.7, go:github.com/grafana/grafana 8.1.8, go:github.com/grafana/grafana 8.0.7. Patch reference: http://www.openwall.com/lists/oss-security/2021/12/09/2. Vendor advisory: https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p. Because CVE-2021-43798 is KEV-listed, US federal civilian agencies were required to apply the vendor fix, or stop using the product, by 2025-10-30. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2021-43798
1 tracked threat in the Threadlinqs corpus references CVE-2021-43798, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, CISA KEV, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.