CVE-2021-43798 kev in the critical feed json
Grafana path traversal
published 2021-12-07 4 y ago modified 2026-09-08 2 mo ago also BIT-grafana-2021-43798 , EUVD-2024-0581 , GHSA-8pjx-jj86-j47p
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Exploited
- added 2025-10-09
- epss
- 88.5%
- EPSS 88.5% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 2
- Metasploit, Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
cisa 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.
- go github.com/grafana/grafana 8.0.7, 8.1.8, 8.2.7, 8.3.1
- bitnami grafana 8.0.7, 8.1.8, 8.2.7, 8.3.1
- grafana grafana 8.0.7, 8.1.8, 8.2.7
- grafana Manager Client Tools 15 9.5.8-150000.1.60.2
- spacecmd openSUSE Leap 15.5, Manager Client Tools 15 4.3.26-150000.3.113.1
- mgr-daemon Manager Client Tools 15 4.3.8-150000.1.44.1
- spacewalk-client-tools Manager Client Tools 15 4.3.18-150000.3.86.2
- prometheus-postgres_exporter openSUSE Leap 15.5, Manager Client Tools 15 0.10.1-150000.1.17.1
- uyuni-proxy-systemd-services Manager Client Tools for SLE Micro 5, Manager Client Tools 15 4.3.10-150000.1.15.1
- golang-github-prometheus-prometheus Manager Client Tools 15 2.45.0-150000.3.53.1
- golang-github-lusitaniae-apache_exporter openSUSE Leap 15.5, Manager Server Module 4.3, Manager Proxy Module 4.3 +1 more 1.0.0-150000.1.20.1
suse advisories SUSE-SU-2024:0487-1SUSE-SU-2024:0486-1SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2022:4439-1SUSE-SU-2022:4437-1
- grafana openSUSE Tumbleweed 8.3.4-1.1
opensuse advisories openSUSE-SU-2024:11816-1
- grafana Alpine 3.15 8.2.7-r0
- grafana Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 8.3.1-r0
alpine advisories ALPINE-CVE-2021-43798
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- grafana Arch Linux 8.3.1-1
arch linux advisories AVG-2609
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-43798 updated cvss 7.5
grafana: path traversal vulnerability
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat Advanced Cluster Management for Kubernetes 2 grafana Red Hat Ceph Storage 2 grafana Red Hat Ceph Storage 3 grafana, grafana-container Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8not affected: vulnerable code not present
+5 more productsfewer
Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafana Red Hat Storage 3 grafana
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit auxiliary/scanner/http/grafana_plugin_traversal)
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 13 mo ago
- Patch by
- 2025-10-30 (12 mo ago)
- Ransomware
- Not known
- 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.
- Vendor, product
- Grafana Labs, Grafana
- CISA name
- Grafana Path Traversal Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
88.50% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/scanner/http/grafana_plugin_traversal Grafana Plugin Path Traversal metasploit auxiliary, normal rank, 2021-12-02
- EDB-50581 Grafana 8.3.0 - Directory Traversal and Arbitrary File Read webapps, 2021-12-09
- Nuclei template Grafana v8.x - Arbitrary File Read nuclei detection template
- packetstormsecurity.com http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | >=8.3.0, <8.3.1 >=8.2.0, <8.2.7 >=8.1.0, <8.1.8 >=8.0.0-beta1, <8.0.7 |
8.3.1 8.2.7 8.1.8 8.0.7 |
| bitnami | grafana | >=8.0.1, <8.0.7 >=8.1.0, <8.1.8 >=8.2.0, <8.2.7 >=8.3.0, <8.3.1 |
8.0.7 8.1.8 8.2.7 8.3.1 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce
web, patch, third-party-advisory, advisory
-
github.com
/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
web, patch, vendor-advisory, advisory
-
openwall.com
/lists/oss-security/2021/12/09/2
mailing-list, web, patch, third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2021/12/10/4
mailing-list, web, patch, third-party-advisory, advisory
-
packetstormsecurity.com
/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html
web, exploit, third-party-advisory, vdb-entry, advisory
-
grafana.com
/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/
vendor-advisory, advisory
-
packetstormsecurity.com
/files/165198/Grafana-Arbitrary-File-Reading.html
web, third-party-advisory, vdb-entry, advisory
-
security.netapp.com
/advisory/ntap-20211229-0004/
third-party-advisory, advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2021-43798
advisory, web
-
github.com
/grafana/grafana
package
-
grafana.com
/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal
web
-
security.netapp.com
/advisory/ntap-20211229-0004
web
Sources
- CVE List CVE-2021-43798
- GitHub Advisory GHSA-8pjx-jj86-j47p
- NVD CVE-2021-43798
- OSV BIT-grafana-2021-43798
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.