← Vulnerability feed

Vulnerability record · CVE-2021-43813 · published 10 December 2021

CVE-2021-43813: Grafana directory traversal in markdown plugin endpoint

Grafana · Grafana

Grafana before 8.3.2 and 7.5.12 contains a directory traversal flaw reachable through the plugin markdown endpoint, but only for files whose extension is fully lowercase or fully uppercase .md. The scope is narrow and access requires an authenticated user, so the practical exposure is limited to reading markdown files rather than arbitrary files.

4.3 CVSS 3.1 Medium EPSS 57% · top 0.9% CWE-22 · Path traversal
4.3CVSS 3.1 base score, v2 4.0
57%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
16References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

medium priorityThe flaw is authenticated, limited to .md file disclosure, and has an official patch, though its high EPSS score warrants prompt remediation.

What it is

Grafana before 8.3.2 and 7.5.12 contains a directory traversal flaw reachable through the plugin markdown endpoint, but only for files whose extension is fully lowercase or fully uppercase .md. The scope is narrow and access requires an authenticated user, so the practical exposure is limited to reading markdown files rather than arbitrary files.

Impact

An authenticated attacker can read .md files outside the intended plugin markdown directory, gaining limited information disclosure. No integrity or availability impact is described.

Attack surface

Reached over the network via the Grafana HTTP API path /api/plugins/.*/markdown/.*, requiring a valid authenticated session and no user interaction. Grafana Cloud instances are stated as unaffected.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented; EPSS is high at roughly 0.575 (99th percentile), and references are patch, release note and advisory material with no public exploit tag.

What to do

  • Upgrade Grafana to 8.3.2 or 7.5.12 or later.
  • If upgrade is not possible, place a reverse proxy in front of Grafana that normalizes request paths and handles URL-encoded paths.
  • Block requests matching /api/plugins/.*/markdown/.* at the proxy, accepting loss of inlined plugin help text.
  • Restrict Grafana authentication to trusted users and review accounts with access to the plugin markdown endpoint.

Detection

  • Monitor Grafana and proxy logs for requests to /api/plugins/*/markdown/* containing traversal sequences such as ../ or encoded variants.
  • Alert on markdown endpoint requests that resolve outside the expected plugin directory or return .md files from unexpected paths.
  • Baseline normal markdown endpoint usage per user and flag anomalous or high-volume access.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing ListPatchRelease NotesThird Party Advisory
https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f Broken Link
https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d PatchThird Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q PatchRelease NotesThird Party Advisory
https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ PatchRelease NotesVendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ Release NotesVendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ Release NotesVendor Advisory
https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing ListPatchRelease NotesThird Party Advisory
https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f Broken Link
https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d PatchThird Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q PatchRelease NotesThird Party Advisory
https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ PatchRelease NotesVendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ Release NotesVendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ Release NotesVendor Advisory
https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory

Track CVE-2021-43813 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2021-43798Grafana plugin path directory traversal allows local file readGrafana versions 8.0.0-beta1 through 8.3.0 are vulnerable to directory traversal via the plugin URL path, allowing unauthenticated access to local fi…KEVEPSS 89%analysed7.3CVE-2021-39226Grafana snapshot endpoints allow unauthenticated view and deleteGrafana exposes snapshot endpoints that resolve to the snapshot with the lowest database key when accessed via literal paths such as /dashboard/snaps…KEVEPSS 100%analysed9.8CVE-2025-41115Grafana vulnerabilitySCIM provisioning was introduced in Grafana Enterprise and Grafana Cloud in April to improve how organizations manage users and teams in Grafana by i…EPSS 17%9.8CVE-2023-3128Grafana authentication bypass by spoofing vulnerabilityGrafana is validating Azure AD accounts based on the email claim. On Azure AD, the profile email field is not unique and can be easily modified. This…EPSS 4.0%9.8CVE-2022-28660Grafana missing authentication for critical function vulnerabilityThe querier component in Grafana Enterprise Logs 1.1.x through 1.3.x before 1.4.0 does not require authentication when X-Scope-OrgID is used. Version…EPSS 1.1%9.8CVE-2022-26148Grafana Zabbix integration exposes cleartext password in page sourceGrafana through 7.3.4, when integrated with Zabbix, embeds the Zabbix account password and URL in the HTML source of api_jsonrpc.php. Anyone who can …EPSS 53%analysed9.8CVE-2020-27846Grafana vulnerabilityA signature verification vulnerability exists in crewjam/saml. This flaw allows an attacker to bypass SAML Authentication. The highest threat from th…EPSS 4.9%9.8CVE-2018-15727Grafana authentication bypass via forged remember-me cookieGrafana versions 2.x, 3.x, 4.x before 4.6.4 and 5.x before 5.2.3 allow authentication bypass because an attacker can generate a valid "remember me" c…EPSS 64%analysed

Source: NIST National Vulnerability Database (record CVE-2021-43813), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.