Skip to content
Heist/ feed
Back to feed
Medium

Users outside an organization can delete a snapshot with its key

Type: advisorySources: OSV

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/ 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-1313
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:41 UTC · Revision 1

Source evidence

Users outside an organization can delete a snapshot with its key

core-osv · Original source

Published 26 Mar 2024, 17:24 UTC

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/ 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.

osv:CVE-2024-1313
Complete source record
{
  "id": "6aaa96b91ccf53f173a5b919912a1f95f5656bdb5e58e79b940fd4a019394d88",
  "url": "https://osv.dev/vulnerability/CVE-2024-1313",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Users outside an organization can delete a snapshot with its key",
    "summary": "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/ 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.",
    "evidence": "osv:CVE-2024-1313",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-1313",
      "aliases": [
        "BIT-grafana-2024-1313",
        "CVE-2024-1313",
        "GHSA-67rv-qpw2-6qrr",
        "GO-2024-2697"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grafana/grafana",
              "type": "GIT",
              "events": [
                {
                  "introduced": "efe95b4c213a64acd9566f658b21fb6c11597b32"
                },
                {
                  "fixed": "f4c5a603b25f69127bfe065381ff454e55b334c5"
                },
                {
                  "introduced": "81d85ce8028dc54188e1f4482837d28f5fc7c797"
                },
                {
                  "fixed": "9c2ce6255bb326364c83384306356a63896c8601"
                },
                {
                  "introduced": "ff85ec33c56ffe567e6bde27473d9493eb70c743"
                },
                {
                  "fixed": "783cbd8a148eb0c0a017a01c0dbe1138fe5e8e24"
                },
                {
                  "introduced": "ae830f687450b8a0aca94ab2d72cc08853a80fff"
                },
                {
                  "fixed": "5f1eccdb4da646b4122c3eb815290b2b025188fe"
                },
                {
                  "introduced": "e010fbb08cfcd444924bc674035ac6286d8cdb88"
                },
                {
                  "fixed": "6db35ad6b4075cf214594fc62f4a3faa3484be01"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "9.5.0"
                      },
                      {
                        "fixed": "9.5.18"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "10.1.0"
                      },
                      {
                        "fixed": "10.1.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "10.2.0"
                      },
                      {
                        "fixed": "10.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "10.3.0"
                      },
                      {
                        "fixed": "10.3.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1313.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.813714181Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1313.json",
        "https://grafana.com/security/security-advisories/cve-2024-1313/",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-1313",
        "https://security.netapp.com/advisory/ntap-20240524-0008/",
        "https://github.com/grafana/grafana"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-639"
        ],
        "cna_assigner": "GRAFANA",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1313.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-1313",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504197,
  "published_at": "2024-03-26T17:24:25.956+00:00"
}