{"id":"CVE-2026-21725","aliases":["CVE-2026-21725","BIT-GRAFANA-2026-21725"],"related":[],"kind":"vulnerability","state":"published","title":"Authorization Bypass via TOCTOU in Grafana Datasource Deletion by Name","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de tipo \"time-of-create-to-time-of-use\" (TOCTOU) permite que las fuentes de datos recientemente eliminadas y luego recreadas sean re-eliminadas sin permiso para hacerlo.\n\nEsto requiere que se cumplan varias condiciones muy estrictas:\n\n- El atacante debe tener acceso de administrador a la fuente de datos específica antes de su primera eliminación.\n- Tras la eliminación, todos los pasos del ataque deben ocurrir dentro de los siguientes 30 segundos y en el mismo pod de Grafana.\n- El atacante debe eliminar la fuente de datos, luego alguien debe recrearla.\n- La nueva fuente de datos no debe tener al atacante como administrador.\n- La nueva fuente de datos debe tener el mismo UID que la fuente de datos anterior. Estos se aleatorizan por defecto.\n- La fuente de datos ahora puede ser re-eliminada por el atacante.\n- Una vez transcurridos 30 segundos, el ataque se agota y no puede repetirse.\n- Ninguna fuente de datos con cualquier otro UID puede ser atacada.","source":"nvd"}],"published":"2026-02-25T12:35:43.104Z","modified":"2026-09-08T08:47:51.128Z","severity":{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","score":2.6,"rating":"LOW"},"severities":[{"scorer":"GRAFANA","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L","score":2.6,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N","score":2,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"v11.0.0","fixed":"v12.4.1","status":"affected"}],"vendor":"Grafana","product":"Grafana","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"11.0.0","fixed":"12.4.1"}],"vendor":"grafana","product":"grafana","cpe":"cpe:2.3:a:grafana:grafana:*:-:*:*:enterprise:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"12.4.1"}],"ecosystem":"Bitnami","package":"grafana","purl":"pkg:bitnami/grafana","source":"bitnami"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2026-21725","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21725","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GRAFANA","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-25T15:13:32.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21725","url":"https://www.cve.org/CVERecord?id=CVE-2026-21725","licence":"CVE Terms of Use","modified":"2026-08-27T17:22:30.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21725","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21725","licence":"Public domain","modified":"2026-06-17T13:20:05.527Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GRAFANA-2026-21725","url":"https://osv.dev/vulnerability/BIT-GRAFANA-2026-21725","licence":"Apache-2.0","modified":"2026-09-08T08:47:51.128Z"}],"updatedAt":"2026-11-25T22:59:14.837Z","epss":{"score":0.00182,"percentile":0.08116,"date":"2026-12-01T12:00:22.000Z"}}