7.5
HIGH
CVE-2021-43798
Grafana Plugin Directory Traversal Vulnerability
Description

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.

INFO

Published Date :

Dec. 7, 2021, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 6:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-43798 has a 144 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-43798 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana grafana
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-43798.

URL Resource
http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Third Party Advisory
https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch Third Party Advisory
https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory
https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory
http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Third Party Advisory
https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch Third Party Advisory
https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory
https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 25, 2025, 6:14 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 week, 6 days ago
0 stars 0 fork 0 watcher
Born at : May 24, 2025, 10:45 p.m. This repo has been linked 2 different CVEs too.

None

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : May 24, 2025, 4:15 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 24, 2025, 1:14 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 23, 2025, 5:32 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 21, 2025, 11:39 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 21, 2025, 6:09 p.m. This repo has been linked 1 different CVEs too.

Automated path traversal testing tool for Grafana plugin endpoints using curl and Bash.

Shell

Updated: 2 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : May 19, 2025, 8:19 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 16, 2025, 9:30 a.m. This repo has been linked 1 different CVEs too.

Updated exploit script for the CVE-2021-43798

Python

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : April 27, 2025, 7:39 p.m. This repo has been linked 1 different CVEs too.

This thesis project focuses on the creation of an autonomous agent that is capable of understanding CVE description and create from its interpretation a vulnerable Docker container, which can then be used to gather attack patterns data. The Docker creation process is benchmarked in order to understand how well the agent is performing its tasks.

Dockerfile HTML Python Shell Groovy PHP

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : April 1, 2025, 1:35 p.m. This repo has been linked 23 different CVEs too.

Arbitrary file read in Grafana allows an attacker to read server files by abusing a path traversal.

Python

Updated: 2 months, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : March 6, 2025, 5:31 p.m. This repo has been linked 2 different CVEs too.

None

Shell

Updated: 3 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 1:13 p.m. This repo has been linked 2 different CVEs too.

Modified exploit for CVE-2021-43798 compatible with both Windows and Linux hosts.

Python

Updated: 3 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 9:02 a.m. This repo has been linked 1 different CVEs too.

None

Shell

Updated: 3 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 11, 2025, 12:42 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-43798 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43798 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html
    Added Reference http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html
    Added Reference http://www.openwall.com/lists/oss-security/2021/12/09/2
    Added Reference http://www.openwall.com/lists/oss-security/2021/12/10/4
    Added Reference https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce
    Added Reference https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
    Added Reference https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/
    Added Reference https://security.netapp.com/advisory/ntap-20211229-0004/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Apr. 12, 2022

    Action Type Old Value New Value
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20211229-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory
  • CVE Modified by [email protected]

    Dec. 29, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20211229-0004/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 14, 2021

    Action Type Old Value New Value
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/09/2 Third Party Advisory http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List, Patch, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/10/4 No Types Assigned http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch
  • CVE Modified by [email protected]

    Dec. 11, 2021

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2021/12/10/4 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 10, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Changed Reference Type http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html No Types Assigned http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html No Types Assigned http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/09/2 No Types Assigned http://www.openwall.com/lists/oss-security/2021/12/09/2 Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce No Types Assigned https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p No Types Assigned https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch, Third Party Advisory
    Changed Reference Type https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ No Types Assigned https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:8.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:grafana:grafana:8.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:grafana:grafana:8.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.1 up to (excluding) 8.0.7 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.8 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.7 *cpe:2.3:a:grafana:grafana:8.3.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 09, 2021

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2021/12/09/2 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 09, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 09, 2021

    Action Type Old Value New Value
    Added Reference https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 08, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-43798 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

94.33 }} 0.15%

score

0.99942

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 09, 2025 1:33