Vulnerability record · CVE-2021-43798 · published 7 December 2021
CVE-2021-43798: Grafana plugin path directory traversal allows local file read
Grafana · Grafana
Grafana versions 8.0.0-beta1 through 8.3.0 are vulnerable to directory traversal via the plugin URL path, allowing unauthenticated access to local files on the host. The flaw was exploited as a zero-day before patched versions 8.0.7, 8.1.8, 8.2.7 and 8.3.1 were released, and it exposes configuration and secret material that can enable further compromise.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Automated analysis
critical priorityUnauthenticated remote file read with confirmed exploitation, KEV listing and very high EPSS probability makes this an urgent patch target.
What it is
Grafana versions 8.0.0-beta1 through 8.3.0 are vulnerable to directory traversal via the plugin URL path, allowing unauthenticated access to local files on the host. The flaw was exploited as a zero-day before patched versions 8.0.7, 8.1.8, 8.2.7 and 8.3.1 were released, and it exposes configuration and secret material that can enable further compromise.
Impact
An attacker can read arbitrary files on the Grafana server, including configuration files that may hold database credentials, API keys and other secrets. This can lead to lateral movement or full compromise of connected systems.
Attack surface
Reachable over the network through the Grafana HTTP endpoint at /public/plugins// with no authentication and no user interaction required, per the CVSS vector AV:N/AC:L/PR:N/UI:N. Any installed plugin ID can be used in the path.
Exploitation
CISA added this to the Known Exploited Vulnerabilities catalog on 2025-10-09, and EPSS gives a 30-day probability of 0.885 (99.8th percentile). Public exploit code is referenced in the Packet Storm entries tagged Exploit.
What to do
- Upgrade Grafana to 8.0.7, 8.1.8, 8.2.7 or 8.3.1 (or later) immediately.
- If patching is not possible, restrict network access to the Grafana HTTP interface to trusted users and networks.
- Rotate any credentials, API keys or secrets stored in Grafana configuration files that may have been exposed.
- Follow the vendor advisory GHSA-8pjx-jj86-j47p and CISA KEV required action guidance, including discontinuing use if mitigations are unavailable.
Detection
- Search web access logs for requests to /public/plugins/ containing traversal sequences such as ../ or encoded variants.
- Alert on HTTP 200 responses to plugin paths that include path traversal patterns.
- Monitor for unusual outbound connections or authentication attempts using credentials harvested from Grafana config files.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2021-43798 to the Known Exploited Vulnerabilities catalog on 9 October 2025 as "Grafana Path Traversal Vulnerability". 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. Federal deadline 30 October 2025.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2021-43798 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-43798), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.