HIGH

CVE-2021-43798

Grafana Grafana 2021-12-07 CVSS v3.1
CVSS
7.5
KEV

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.

Summary dbcve.org

Grafana versions 8.0.0-beta1 through 8.3.0 contain a directory traversal vulnerability in the plugin static file serving endpoint. Attackers can manipulate the plugin ID in the URL path `/public/plugins/<plugin_id>/` with traversal sequences (e.g., `../../`) to read arbitrary local files on the server, bypassing intended plugin directory restrictions.

Mitigation

Upgrade Grafana to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1 (or later) to remediate this path traversal vulnerability.

Proof of Concept
Patch Commit

Weakness (CWE)

CWE-22 Path Traversal

EPSS Score

88.5%
Probability of exploitation in next 30 days
99.8th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE