CVE-2026-21725
JSON

2.6low

Authorization Bypass via TOCTOU in Grafana Datasource Deletion by Name

Severity
2.6low CVSS:3.1 by GRAFANA
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GRAFANA
Also known as
BIT-GRAFANA-2026-21725

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. This requires several very stringent conditions to be met: - The attacker must have admin access to the specific datasource prior to its first deletion. - Upon deletion, all steps within the attack must happen within the next 30 seconds and on the same pod of Grafana. - The attacker must delete the datasource, then someone must recreate it. - The new datasource must not have the attacker as an admin. - The new datasource must have the same UID as the prior datasource. These are randomised by default. - The datasource can now be re-deleted by the attacker. - Once 30 seconds are up, the attack is spent and cannot be repeated. - No datasource with any other UID can be attacked.

Affected

Product or packageVersionsReported by
Grafana Grafanafrom v11.0.0 before v12.4.1, from 11.0.0 before 12.4.1CVE List, NVD
grafana (Bitnami)from 11.0.0 before 12.4.1Bitnami Vulnerability Database

All scores

GRAFANA2.6low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
NVD2.0low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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. This requires several very stringent conditions to be met: - The attacker must have admin access to the specific datasource prior to its first deletion. - Upon deletion, all steps within the attack must happen within the next 30 seconds and on the same pod of Grafana. - The attacker must delete the datasource, then someone must recreate it. - The new datasource must not have the attacker as an admin. - The new datasource must have the same UID as the prior datasource. These are randomised by default. - The datasource can now be re-deleted by the attacker. - Once 30 seconds are up, the attack is spent and cannot be repeated. - No datasource with any other UID can be attacked.

NVD (es)

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. Esto requiere que se cumplan varias condiciones muy estrictas: - El atacante debe tener acceso de administrador a la fuente de datos específica antes de su primera eliminació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. - El atacante debe eliminar la fuente de datos, luego alguien debe recrearla. - La nueva fuente de datos no debe tener al atacante como administrador. - La nueva fuente de datos debe tener el mismo UID que la fuente de datos anterior. Estos se aleatorizan por defecto. - La fuente de datos ahora puede ser re-eliminada por el atacante. - Una vez transcurridos 30 segundos, el ataque se agota y no puede repetirse. - Ninguna fuente de datos con cualquier otro UID puede ser atacada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-21725 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-21725 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GRAFANA-2026-21725 changed 2026-09-08Apache-2.0