Home / grafana / grafana / CVE-2021-43798
CVE-2021-43798: is it exploited, and which versions of grafana are affected and fixed?
CVE-2021-43798 is a path traversal (reading or writing files outside the intended folder) vulnerability in grafana, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on October 9, 2025, with a federal due date of October 30, 2025. Affected: github.com/grafana/grafana from 8.3.0 before 8.3.1, github.com/grafana/grafana from 8.2.0 before 8.2.7, github.com/grafana/grafana from 8.1.0 before 8.1.8 and 1 more (GitHub advisory GHSA-8pjx-jj86-j47p). Fixed in 8.3.1, 8.2.7, 8.1.8 and 8.0.7 (GitHub advisory GHSA-8pjx-jj86-j47p). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-43798?
Grafana 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.
From the CVE record by GitHub_M, last updated October 21, 2025, 23:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| grafana | grafana | >= 8.0.0, < 8.0.7 >= 8.1.0, < 8.1.8 >= 8.2.0, < 8.2.7 = 8.3.0 |
As the CVE record by GitHub_M states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/grafana/grafana | >= 8.3.0, < 8.3.1 | 8.3.1 | GHSA-8pjx-jj86-j47p |
| Go | github.com/grafana/grafana | >= 8.2.0, < 8.2.7 | 8.2.7 | GHSA-8pjx-jj86-j47p |
| Go | github.com/grafana/grafana | >= 8.1.0, < 8.1.8 | 8.1.8 | GHSA-8pjx-jj86-j47p |
| Go | github.com/grafana/grafana | >= 8.0.0-beta1, < 8.0.7 | 8.0.7 | GHSA-8pjx-jj86-j47p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Grafana path traversal.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| grafana | grafana | from 8.0.1 before 8.0.7 | application |
| grafana | grafana | from 8.1.0 before 8.1.8 | application |
| grafana | grafana | from 8.2.0 before 8.2.7 | application |
| grafana | grafana | 8.0.0 | application |
| grafana | grafana | 8.3.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-43798?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-43798 exploited in the wild?
- CISA KEV
- Listed as Grafana Path Traversal Vulnerability, added October 9, 2025; federal agencies must act by October 30, 2025
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Ransomware use
- Unknown
- CISA's summary
- Grafana contains a path traversal vulnerability that could allow access to local files.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: partial (CISA ADP, October 9, 2025)
- EPSS
- 88.5% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p x_refsource_CONFIRM
- https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce x_refsource_MISC
- http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html x_refsource_MISC
- https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ x_refsource_CONFIRM
- http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html x_refsource_MISC
- [oss-security] 20211209 CVE-2021-43798 Grafana directory traversal mailing-list, x_refsource_MLIST
- [oss-security] 20211210 CVE-2021-43813 and CVE-2021-43815 - Grafana directory traversal for some .md and .csv files mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20211229-0004/ x_refsource_CONFIRM
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798 government-resource
When was it published, and where is the official record?
- Reserved
- November 16, 2021
- Published
- December 7, 2021, 18:25 UTC
- CVE record updated
- October 21, 2025, 23:25 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 04:11 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect grafana?
- Oct 5, 2021CVE-2021-39226 grafana: authentication bypass (improper authentication) exploited
- Mar 27, 2026CVE-2026-27879 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-28375 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-27876 Grafana: code injection (remote code execution)
- Mar 27, 2026CVE-2026-27880 Grafana: out-of-bounds read
- Mar 27, 2026CVE-2026-27877 Grafana: sensitive data stored in clear text
- Feb 25, 2026CVE-2026-21725 Grafana: time-of-check time-of-use race condition
- Jul 18, 2025CVE-2025-6197 Grafana: open redirect
Questions about CVE-2021-43798
Is CVE-2021-43798 exploited in the wild?
Yes. CISA added CVE-2021-43798 to its Known Exploited Vulnerabilities catalog on October 9, 2025 and set federal agencies a due date of October 30, 2025. FIRST's EPSS gives it a 88.5% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of grafana are affected by CVE-2021-43798?
github.com/grafana/grafana from 8.3.0 before 8.3.1, github.com/grafana/grafana from 8.2.0 before 8.2.7, github.com/grafana/grafana from 8.1.0 before 8.1.8 and github.com/grafana/grafana from 8.0.0-beta1 before 8.0.7, per the GitHub advisory GHSA-8pjx-jj86-j47p. The tables above give every range the sources list.
Which version fixes CVE-2021-43798?
8.3.1, 8.2.7, 8.1.8 and 8.0.7, per the GitHub advisory GHSA-8pjx-jj86-j47p. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-43798?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-43798?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.