CVE-2021-43798: Unauthenticated Path Traversal in Grafana Plugin Asset Handling
- Vendor
- Grafana Labs
CVE-2021-43798 is a directory traversal vulnerability in Grafana's public plugin asset handling that permits remote, unauthenticated access to local files. Crafted HTTP requests containing traversal sequences after an installed plugin identifier escape the intended plugin directory and retrieve files readable by the Grafana process. Affected releases span 8.0.0-beta1 through 8.3.0, excluding patched releases 8.0.7, 8.1.8, and 8.2.7. Grafana Cloud was never affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of files accessible to the Grafana service account, including application configuration, local databases, password hashes, and integration secrets. Where Grafana uses SQLite, disclosure of its database can enable offline password cracking. Obtaining both encrypted data source credentials and the relevant configuration secrets can allow credential recovery and subsequent access to connected services. Account takeover and further compromise depend on the exposed information and deployment configuration; the vulnerability itself does not directly provide file writes or code execution.
Mitigation
If you can’t patch tonight, do this now.
If upgrading immediately is not possible, place Grafana behind a reverse proxy configured to normalize request paths before forwarding them, such as Envoy with normalize_path enabled, and prevent direct access to the backend. Restrict network access using VPN, ZTNA, or IP allowlists. Review HTTP logs for plugin-path traversal requests and evidence of sensitive file retrieval.
Remediation
Patch, then assume compromise.
Upgrade to a currently supported Grafana release containing the fix. Historical minimum fixed releases are 8.0.7, 8.1.8, 8.2.7, and 8.3.1 for their respective branches. If the instance was internet-exposed while vulnerable, rotate Grafana account passwords and data source credentials, along with other secrets potentially exposed through configuration or database disclosure.
Exploits
29 exploits validated by Mallory's analysis. Hidden: 8 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-43798 exploited in the wild?
- Yes. As of Nov 23, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 9, 2025.
- Is there a public exploit for CVE-2021-43798?
- Yes. Mallory tracks 29 public exploits or proofs of concept for CVE-2021-43798, the earliest disclosed Dec 6, 2021.
- Is there a patch for CVE-2021-43798?
- Upgrade to a currently supported Grafana release containing the fix. Historical minimum fixed releases are 8.0.7, 8.1.8, 8.2.7, and 8.3.1 for their respective branches.
- What products are affected by CVE-2021-43798?
- Grafana Labs Grafana.
- How severe is CVE-2021-43798?
- CVE-2021-43798 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 88.5% (100th percentile) as of Nov 23, 2026.
Recent activity
59 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.