Path traversal in Grafana - CVE-2021-43798

 

Path traversal in Grafana - CVE-2021-43798

Published: December 8, 2021 / Updated: March 2, 2026


Vulnerability identifier: #VU58647
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2021-43798
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Grafana Labs
Affected software:
Grafana

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences, passed after the "/public/plugins/" URL. A remote non-authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.


How to mitigate CVE-2021-43798

Install update from vendor's website.

Sources