Home / grafana / grafana / CVE-2021-43813
CVE-2021-43813: is it exploited, and which versions of grafana are affected and fixed?
CVE-2021-43813 is a path traversal (reading or writing files outside the intended folder) vulnerability in grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: grafana >= 5.0.0, < 7.5.12 and grafana >= 8.0.0, < 8.3.2 (CVE record by GitHub_M). Fixed in 7.5.12 and 8.3.2 (NVD). Severity: Medium (4.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-43813?
Directory Traversal in Grafana
Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. For users who cannot upgrade, running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text.
From the CVE record by GitHub_M, last updated August 4, 2024, 04:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| grafana | grafana | >= 5.0.0, < 7.5.12 >= 8.0.0, < 8.3.2 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| grafana | grafana | from 5.0.0 before 7.5.12 | application |
| grafana | grafana | from 8.0.0 before 8.3.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-43813?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| Medium 4.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/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-43813 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 56.9% probability of exploitation activity in the next 30 days, percentile 99.1 (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-c3q8-26ph-9g2q x_refsource_CONFIRM
- https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f x_refsource_MISC
- https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d x_refsource_MISC
- https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ x_refsource_MISC
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ x_refsource_MISC
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ x_refsource_MISC
- [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-20220107-0006/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- November 16, 2021
- Published
- December 10, 2021, 17:30 UTC
- CVE record updated
- August 4, 2024, 04:03 UTC by GitHub_M
- NVD
- Modified, 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, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect grafana?
- Dec 7, 2021CVE-2021-43798 grafana: path traversal (reading or writing files outside the intended folder) exploited
- 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
Questions about CVE-2021-43813
Is CVE-2021-43813 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 56.9% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of grafana are affected by CVE-2021-43813?
grafana >= 5.0.0, < 7.5.12 and grafana >= 8.0.0, < 8.3.2, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2021-43813?
7.5.12 and 8.3.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-43813?
Medium (4.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-43813?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.