CVE-2021-43813Grafana Path Traversal
grafana: directory traversal vulnerability
Published Dec 10, 2021 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2021-43813, BIT-grafana-2021-43813, CLEANSTART-2026-SA22644, GHSA-c3q8-26ph-9g2q, OESA-2021-1470, UBUNTU-CVE-2021-43813, openSUSE-SU-2024:11694-1
Key Facts
Patch immediately- CVE-2021-43813 is a medium-severity vulnerability (CVSS 4.3 v3.1) affecting Grafana, dracut-saltboot (suse), golang-github-boynux-squid_exporter (suse) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 57% probability of exploitation in the next 30 days.
- Fixed versions are available, including ansible 2.9.27-159000.3.9.1, ansible-doc 2.9.27-159000.3.9.1, ardana-barbican 9.0+git.1644879908.8a641c1-3.13.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS (30-day exploit likelihood)
57%
Higher than 99.0% of all scored CVEs
Exploit maturity
None known
ATLAS score
24/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2021-43813
- advisoryhttps://ubuntu.com/security/CVE-2021-43813
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2021-43813
- advisoryhttp://access.redhat.com/errata/RHSA-2022:6024
- advisoryhttp://access.redhat.com/errata/RHSA-2022:6043
- advisoryhttps://10.8.128.81:8443//api/prometheus_receiver
Description
Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. For users who cannot upgrade, running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/./markdown/. without losing any functionality beyond inlined plugin help text.
Affected Products
464 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GrafanaGrafana | >= 5.0.0, >= 5.0.0, < 7.5.12 | 7.5.12 |
| dracut-saltbootsuse | See advisory | 0.1.1665997480.587fa10-150000.1.41.1 |
| golang-github-boynux-squid_exportersuse | See advisory | 1.6-150000.1.9.1 |
| golang-github-prometheus-promususe | See advisory | 0.13.0-150000.3.9.1 |
| prometheus-blackbox_exportersuse | See advisory | 0.19.0-150000.1.14.3 |
Patched Releases
ansible
2.9.27-159000.3.9.1
ansible-doc
2.9.27-159000.3.9.1
ardana-barbican
9.0+git.1644879908.8a641c1-3.13.1
dracut-saltboot
0.1.1665997480.587fa10-150000.1.41.1, 0.1.1681904360.84ef141-159000.3.30.1
firewalld-prometheus-config
0.1-159000.6.33.1
golang-github-boynux-squid_exporter
1.6-1.9.1, 1.6-150000.1.9.1, 1.6-159000.4.9.1, 1.6-4.9.2
golang-github-lusitaniae-apache_exporter
1.0.0-159000.4.12.1, 1.0.0-4.12.4
golang-github-prometheus-alertmanager
0.23.0-1.12.3, 0.26.0-4.12.4
golang-github-prometheus-node_exporter
1.3.0-1.15.3, 1.5.0-4.15.4
golang-github-prometheus-prometheus
2.45.0-159000.6.33.1, 2.45.0-4.33.3
golang-github-prometheus-promu
0.13.0-150000.3.9.1, 0.14.0-4.12.2
golang-github-QubitProducts-exporter_exporter
0.4.0-1.6.1, 0.4.0-159000.4.6.1, 0.4.0-4.6.2
Grafana
0:7.5.11-2.el8, 6.7.4-3.26.1, 7.5.11-2.el8, 7.5.11-2.oe1, 7.5.12, 7.5.12-1.1, 7.5.12-1.27.1, 7.5.12-150100.3.9.1, 7.5.12-3.18.1, 7.5.15-3.oe1, 8.3.1-1, 8.3.2, 8.3.2-r0, 8.3.5-1.30.3, 8.3.5-150000.1.30.1, 8.3.5-150200.3.21.1, 8.5.13-1.36.2, 8.5.13-150000.1.36.3, 8.5.13-150200.3.29.5, 9.5.8-159000.4.24.1, 9.5.8-4.21.2
kiwi-desc-saltboot
0.1.1687520761.cefb248-4.15.2
mgr-cfg
4.2.8-150000.1.24.1, 4.3.6-1.27.4
mgr-cfg-actions
4.2.8-150000.1.24.1, 4.3.6-1.27.4
mgr-cfg-client
4.2.8-150000.1.24.1, 4.3.6-1.27.4
mgr-cfg-management
4.2.8-150000.1.24.1, 4.3.6-1.27.4
mgr-custom-info
4.3.3-1.18.1
mgr-daemon
4.3.4-1.32.3
mgr-osad
4.2.8-150000.1.36.1, 4.3.6-1.39.4
mgr-push
4.2.5-150000.1.18.2, 4.3.4-1.21.4, 5.0.1-159000.4.21.1, 5.0.1-4.21.4
mgr-virtualization
4.2.4-150000.1.26.1, 4.3.5-1.29.3
mgr-virtualization-host
4.2.4-150000.1.26.1, 4.3.5-1.29.3
openshift4/ose-grafana:v4.10.0
202202160023.p0.g48aec35.assembly.stream
Timeline
Publicly disclosed
Dec 10, 2021
Last updated
Nov 3, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- advisorysecurity.alpinelinux.org · CVE-2021-43813
- advisoryubuntu.com · CVE-2021-43813
- advisorycve.org · CVERecord
- advisoryaccess.redhat.com · RHSA-2022:6024
- advisoryaccess.redhat.com · RHSA-2022:6043
FAQ
Common Questions.
Grafana is an open-source platform for monitoring and observability.
Affected: Grafana versions >= 5.0.0, >= 5.0.0, < 7.5.12; dracut-saltboot (suse); golang-github-boynux-squid_exporter (suse), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including ansible 2.9.27-159000.3.9.1, ansible-doc 2.9.27-159000.3.9.1, ardana-barbican 9.0+git.1644879908.8a641c1-3.13.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-43813 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo