Grafana - Path Traversal (CVE-2021-43798)
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.
psychologyCrowdSec Analysis
CVE-2021-43798 is a directory traversal vulnerability in Grafana that enables attackers to gain unauthorized access to local files by exploiting crafted plugin URL paths.
CrowdSec has been tracking this vulnerability and its exploits since 9th of December 2021.
CrowdSec network data shows that most actors exploiting CVE-2021-43798 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature. CrowdSec network telemetry also shows that exploitation of CVE-2021-43798 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.
Attackers typically probe for URL patterns containing /public/plugins/ to exploit this weakness.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2021-12-07 |
| Rule Released | 2021-12-09 |
| CrowdSec First Seen | 2021-12-09 |
| CISA KEV | 2025-10-09 |
| CISA Remediation Deadline | 2025-10-30 |
Remediation & Protection
External References
- https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
- https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce
- https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/
- https://security.netapp.com/advisory/ntap-20211229-0004/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-43798.yaml