{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-21725","id":"CVE-2026-21725","title":"Authorization Bypass via TOCTOU in Grafana Datasource Deletion by Name","description":"A time-of-create-to-time-of-use (TOCTOU) vulnerability lets recently deleted-then-recreated data sources be re-deleted without permission to do so.\n\nThis requires several very stringent conditions to be met:\n\n- The attacker must have admin access to the specific datasource prior to its first deletion.\n- Upon deletion, all steps within the attack must happen within the next 30 seconds and on the sa","descriptionLong":"A time-of-create-to-time-of-use (TOCTOU) vulnerability lets recently deleted-then-recreated data sources be re-deleted without permission to do so.\n\nThis requires several very stringent conditions to be met:\n\n- The attacker must have admin access to the specific datasource prior to its first deletion.\n- Upon deletion, all steps within the attack must happen within the next 30 seconds and on the same pod of Grafana.\n- The attacker must delete the datasource, then someone must recreate it.\n- The new datasource must not have the attacker as an admin.\n- The new datasource must have the same UID as the prior datasource. These are randomised by default.\n- The datasource can now be re-deleted by the attacker.\n- Once 30 seconds are up, the attack is spent and cannot be repeated.\n- No datasource with any other UID can be attacked.","published":"2026-02-25T12:35:43.104Z","updated":"2026-10-28T02:30:41.098605031Z","reserved":"2026-01-05T09:26:06.214Z","status":"Modified","rejected":false,"assigner":"GRAFANA","metric":{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GRAFANA"},"metrics":[{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"GRAFANA"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"grafana.com"},{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"}],"rating":"low","products":["Grafana"],"affectedProducts":[{"vendor":"Grafana","product":"Grafana","defaultStatus":"unaffected","versions":[{"version":"v11.0.0","status":"affected","versionType":"semver","lessThan":"v12.4.1"}],"platforms":[]}],"packages":[],"cwes":["CWE-367"],"aliases":["BIT-grafana-2026-21725"],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-21725","tags":["vendor-advisory","Vendor Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21725.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21725","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00184,"epssPercentile":0.08156,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-21725","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21725","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-21725","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-21725","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["grafana"],"critical":[],"attention":null}