CVE-2021-43798
HIGH 7.5CVSS 3.1known exploitedGrafana 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.
- Published
- 7 Dec 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- BIT-grafana-2021-43798GHSA-8pjx-jj86-j47p
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-8pjx-jj86-j47pJSON
In CISA's Known Exploited Vulnerabilities catalog since 9 Oct 2025; US federal agencies must fix it by 30 Oct 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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* |
>= 8.0.1, < 8.0.7 | 8.0.7 |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* |
>= 8.1.0, < 8.1.8 | 8.1.8 |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* |
>= 8.2.0, < 8.2.7 | 8.2.7 |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:8.0.0:beta1:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:8.0.0:beta2:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:8.0.0:beta3:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | grafana | grafanacpe:2.3:a:grafana:grafana:8.3.0:*:*:*:*:*:*:* |
= 8.3.0 | |
| OSV | Go | github.com/grafana/grafana | >= 8.3.0, < 8.3.1 | 8.3.1 |
| OSV | Go | github.com/grafana/grafana | >= 8.2.0, < 8.2.7 | 8.2.7 |
| OSV | Go | github.com/grafana/grafana | >= 8.1.0, < 8.1.8 | 8.1.8 |
| OSV | Go | github.com/grafana/grafana | >= 8.0.0-beta1, < 8.0.7 | 8.0.7 |
References
- http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html · Third Party Advisory, VDB Entry, WEB
- http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://www.openwall.com/lists/oss-security/2021/12/09/2 · Mailing List, Patch, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2021/12/10/4 · Mailing List, Patch, Third Party Advisory, WEB
- https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce · Patch, Third Party Advisory, WEB
- https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p · Patch, Vendor Advisory, WEB
- https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20211229-0004/ · Third Party Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798 · US Government Resource, WEB
- https://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/
- https://nvd.nist.gov/vuln/detail/CVE-2021-43798 · ADVISORY
- https://github.com/grafana/grafana · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Dec 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Feb 2024)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 9 Oct 2025)
- 9 Oct 2025 00:00 UTC · Listed as known exploited