CVE-2026-21725
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/02/2026
Last modified:
27/02/2026
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.<br />
<br />
This requires several very stringent conditions to be met:<br />
<br />
- The attacker must have admin access to the specific datasource prior to its first deletion.<br />
- Upon deletion, all steps within the attack must happen within the next 30 seconds and on the same pod of Grafana.<br />
- The attacker must delete the datasource, then someone must recreate it.<br />
- The new datasource must not have the attacker as an admin.<br />
- The new datasource must have the same UID as the prior datasource. These are randomised by default.<br />
- The datasource can now be re-deleted by the attacker.<br />
- Once 30 seconds are up, the attack is spent and cannot be repeated.<br />
- No datasource with any other UID can be attacked.
Impact
Base Score 3.x
2.60
Severity 3.x
LOW
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:grafana:grafana:*:-:*:*:enterprise:*:*:* | 11.0.0 (including) | 12.4.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



