{"cve":"CVE-2021-43815","nvd":{"published":"2021-12-10T21:15:09.497","modified":"2026-06-17T04:11:29.713","status":"Modified","description":"Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 has a directory traversal for arbitrary .csv files. It only affects instances that have the developer testing tool called TestData DB data source enabled and configured. The vulnerability is limited in scope, and only allows access to files with the extension .csv to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Versions 8.3.2 and 7.5.12 contain a patch for this issue. There is a workaround available 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-22"],"references":["http://www.openwall.com/lists/oss-security/2021/12/10/4","https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3","https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d","https://github.com/grafana/grafana/releases/tag/v8.3.2","https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m"],"products":["grafana:grafana"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-43815","score":0.01898,"percentile":0.79646,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7533-c8qv-jm9m","url":"https://osv.dev/vulnerability/GHSA-7533-c8qv-jm9m","summary":"Grafana directory traversal for .cvs files","modified":"2026-07-08T06:28:26.309391265Z","packages":[{"ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[">=8.0.0-beta3 <8.3.2"],"fixed":["8.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}