Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-43815
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:00 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-43815
Complete source record
{
"id": "e7eb5557cd66d716447aa283ac29f76a73e3457d9df31728378c68e527ce2b24",
"url": "https://osv.dev/vulnerability/CVE-2021-43815",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-43815",
"summary": "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.",
"evidence": "osv:CVE-2021-43815",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-43815",
"aliases": [
"BIT-grafana-2021-43815",
"CVE-2021-43815",
"GHSA-7533-c8qv-jm9m"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/grafana/grafana",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "896df7435dfd03ce9f4665e7af8c07fc72743283"
},
{
"introduced": "41f0542c1ec16ce93b336a9f5cf6eef1aba898d0"
},
{
"fixed": "afb9e8e5f3c33fa59c5a1053d98d8d97815af002"
},
{
"fixed": "d6ec6f8ad28f0212e584406730f939105ff6c6d3"
},
{
"fixed": "fd48aee61e4328aae8d5303a9efd045fa0ca308d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "7.5.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.3.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d6ec6f8ad28f0212e584406730f939105ff6c6d3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fd48aee61e4328aae8d5303a9efd045fa0ca308d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "afb9e8e5f3c33fa59c5a1053d98d8d97815af002"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v8.3.2"
}
]
}
}
],
"versions": [
"v8.3.1",
"v8.3.0",
"v8.3.0-beta2",
"v7.5.11",
"v7.5.10",
"v7.5.9",
"v7.5.8",
"v7.5.7",
"v7.5.6",
"v7.5.5",
"v7.5.4",
"v7.5.3",
"v7.5.2",
"v7.5.1",
"v7.5.0",
"v7.5.0-beta2",
"v7.5.0-beta1",
"v6.5",
"v6.0.0-beta1",
"v5.,2.4",
"v5.0.0",
"v5.0.0-beta5",
"v5.0.0-beta4",
"v5.0.0-beta3",
"v5.0.0-beta2",
"v5.0.0-beta1",
"v4.6.0-beta1",
"v4.5.0",
"v4.5.0-beta1",
"v4.4.0",
"v3.1.0-beta1",
"v3.0.2",
"v3.0.1",
"v3.0.0-beta7",
"v3.0.0-beta6",
"v2.6.0",
"v2.6.0-beta1",
"v2.5.0",
"v2.0.2",
"v2.0.1",
"v2.0.0-beta3",
"v2.0.0-beta1",
"v1.9.1",
"v1.9.0",
"v1.9.0-rc1",
"v1.7.0-rc1",
"v1.6.1",
"v1.6.0",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43815.json"
}
}
],
"modified": "2026-10-20T10:55:03.444584447Z",
"provider": "osv",
"references": [
"https://github.com/grafana/grafana/releases/tag/v8.3.2",
"https://security.netapp.com/advisory/ntap-20220107-0006/",
"https://github.com/grafana/grafana/commit/d6ec6f8ad28f0212e584406730f939105ff6c6d3",
"https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d",
"https://github.com/grafana/grafana/security/advisories/GHSA-7533-c8qv-jm9m",
"https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-43815",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386803,
"published_at": "2021-12-10T21:15:09.497+00:00"
}