Stackurity Start free trial

CVEs / CVE-2021-43798

CVE-2021-43798: Grafana Path Traversal Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2021-43798

Summary

Grafana contains a path traversal vulnerability that could allow access to local files.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 7 Dec 2021 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
grafana grafana>= 8.0.0, < 8.0.7—
grafana grafana>= 8.1.0, < 8.1.8—
grafana grafana>= 8.2.0, < 8.2.7—
grafana grafana= 8.3.0—
As stated by OSV
ProductAffectedFixed in
github.com/grafana/grafana (Go)from 8.3.0, before 8.3.18.3.1
github.com/grafana/grafana (Go)from 8.2.0, before 8.2.78.2.7
github.com/grafana/grafana (Go)from 8.1.0, before 8.1.88.1.8
github.com/grafana/grafana (Go)from 8.0.0-beta1, before 8.0.78.0.7

Package versions from GHSA-8pjx-jj86-j47p.

Exploitation

In CISA KEV since9 Oct 2025
Due date for US federal agencies30 Oct 2025
Used in ransomware campaignsUnknown
Required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 2.05 medium
AV:N/AC:L/Au:N/C:P/I:N/A:N
Scored by NVD
WeaknessCWE-22

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.