Skip to content
Vulnerability Intelligence

CVE-2021-43813

Medium

grafana: directory traversal vulnerability

Published Aug 15, 2022 · Updated Sep 8, 2026 · Also known as BIT-grafana-2021-43813, GHSA-c3q8-26ph-9g2q, UBUNTU-CVE-2021-43813

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.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2021-43813 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

458 affected entries in total
ProductAffected versionsFixed in
GrafanaGrafana>= 5.0.0, >= >= 5.0.0, < 7.5.127.5.12
dracut-saltbootsuseSee advisory0.1.1665997480.587fa10-150000.1.41.1
golang-github-boynux-squid_exportersuseSee advisory1.6-150000.1.9.1
golang-github-prometheus-promususeSee advisory0.13.0-150000.3.9.1
prometheus-blackbox_exportersuseSee advisory0.19.0-150000.1.14.3
20 more affected products in the full CVE brief

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.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, 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

  1. Publicly disclosed

    Aug 15, 2022

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-43813 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo