{"id":"CVE-2021-43798","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-43798","generatedAt":"2026-10-31T13:57:00.003Z","title":"Grafana Path Traversal Vulnerability","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.","published":"2021-12-07T19:15:08.000Z","lastModified":"2026-06-17T04:11:28.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-22"],"affected":["grafana/grafana"],"epss":{"score":0.88503,"percentile":0.99771,"date":"2026-10-30","history":[]},"kev":{"listed":true,"dateAdded":"2025-10-09","dueDate":"2025-10-30","knownRansomwareCampaignUse":"Unknown","notes":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.\nhttps://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/ ; https://nvd.nist.gov/vuln/detail/CVE-2021-43798"},"exploits":{"count":1,"verified":false,"firstPublished":"2021-12-09","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":50581,"kind":"exploit","title":"Grafana 8.3.0 - Directory Traversal and Arbitrary File Read","url":"https://www.exploit-db.com/exploits/50581","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/50581.py","file":"exploits/multiple/webapps/50581.py","published":"2021-12-09","added":"2021-12-09","updated":"2021-12-09","author":"s1gh","type":"webapps","platform":"multiple","port":null,"verified":false,"codes":["CVE-2021-43798"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 30 October 2025). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html","tags":["Third Party Advisory","VDB Entry"],"source":"security-advisories@github.com"},{"url":"http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"security-advisories@github.com"},{"url":"http://www.openwall.com/lists/oss-security/2021/12/09/2","tags":["Mailing List","Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"http://www.openwall.com/lists/oss-security/2021/12/10/4","tags":["Mailing List","Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce","tags":["Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p","tags":["Patch","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/","tags":["Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://security.netapp.com/advisory/ntap-20211229-0004/","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2021/12/09/2","tags":["Mailing List","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2021/12/10/4","tags":["Mailing List","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20211229-0004/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-43798","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43798","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}