CVE-2024-1313
MEDIUM 6.5CVSS 3.1Grafana: Users outside an organization can delete a snapshot with its key
It is possible for a user in a different organization from the owner of a snapshot to bypass authorization and delete a snapshot by issuing a DELETE request to /api/snapshots/<key> using its view key. This functionality is intended to only be available to individuals with the permission to write/edit to the snapshot in question, but due to a bug in the authorization logic, deletion requests issued by an unprivileged user in a different organization than the snapshot owner are treated as authorized.
Grafana Labs would like to thank Ravid Mazon and Jay Chen of Palo
Alto Research for discovering and disclosing this vulnerability.
This issue affects Grafana: from 9.5.0 before 9.5.18, from 10.0.0 before 10.0.13, from 10.1.0 before 10.1.9, from 10.2.0 before 10.2.6, from 10.3.0 before 10.3.5.
- Published
- 26 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@grafana.com
- NVD status
- Deferred
- Weakness
- CWE-639
- Also known as
- BIT-grafana-2024-1313GHSA-67rv-qpw2-6qrrGO-2024-2697
- Sources
- NVDJSONOSV GHSA-67rv-qpw2-6qrrJSONOSV GO-2024-2697JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | security@grafana.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/grafana/grafana | >= 9.5.0, < 9.5.18 | 9.5.18 |
| OSV | Go | github.com/grafana/grafana | >= 10.0.0, < 10.0.13 | 10.0.13 |
| OSV | Go | github.com/grafana/grafana | >= 10.1.0, < 10.1.9 | 10.1.9 |
| OSV | Go | github.com/grafana/grafana | >= 10.2.0, < 10.2.6 | 10.2.6 |
| OSV | Go | github.com/grafana/grafana | >= 10.3.0, < 10.3.5 | 10.3.5 |
| OSV | Go | github.com/grafana/grafana | all versions |
References
- https://grafana.com/security/security-advisories/cve-2024-1313/ · WEB
- https://security.netapp.com/advisory/ntap-20240524-0008/
- https://github.com/grafana/bugbounty/security/advisories/GHSA-67rv-qpw2-6qrr · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-1313 · ADVISORY
- https://github.com/grafana/grafana · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Apr 2024)