
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-21725 is a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability in Grafana that allows a former datasource admin to perform unauthorized deletion of a recreated datasource. It affects Grafana Enterprise versions 11.0.0 through 12.4.0 (fixed in 12.4.1). The vulnerability was published on February 25, 2026, and assigned by Grafana Labs. It carries a CVSS v3.1 base score of 2.0 (Low) per NVD, or 2.6 (Low) per Grafana Labs' own assessment (Grafana Advisory, Red Hat Bugzilla).
The vulnerability is classified as CWE-367 (Time-of-check Time-of-use Race Condition). When a datasource is deleted in Grafana, the system retains the former admin's authorization context for up to 30 seconds on the same pod. If another user recreates a datasource with the identical UID during this window, the former admin can exploit the stale authorization state to delete the newly created datasource without holding any permissions on it. Exploitation requires the attacker to have previously held admin access to the original datasource, the recreated datasource to share the same UID (randomized by default), and all steps to occur within a 30-second window on the same Grafana pod (Grafana Advisory, Red Hat Bugzilla).
Successful exploitation results in unauthorized deletion of a Grafana datasource, constituting a limited denial-of-service impact on data source connectivity. There is no confidentiality impact, as no data is exposed, and no broader integrity impact beyond the deletion of the specific datasource. The attack scope is tightly constrained — only one datasource with a specific UID can be targeted per 30-second window, and the attack cannot be repeated or extended to other datasources (Grafana Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of reporting. The EPSS score is approximately 0.033%, reflecting the very low probability of exploitation given the stringent preconditions. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The combination of required prior admin access, a 30-second exploitation window, same-pod constraint, and the need for an identical (randomized) UID makes real-world exploitation highly unlikely (Grafana Advisory, Red Hat Bugzilla).
DELETE /api/datasources/uid/<uid>) from a user account that lacks current admin permissions on that datasource.Grafana has released version 12.4.1 which addresses this vulnerability; users running Grafana Enterprise v11.0.0 through v12.4.0 should upgrade to v12.4.1 or later. As interim mitigations, administrators should enforce strict access controls to limit who can obtain datasource admin privileges, monitor datasource creation and deletion events for anomalous patterns, and audit datasource UID assignment to ensure randomization is not overridden. In multi-pod deployments, reviewing cross-pod state synchronization and session routing can further reduce exposure (Grafana Advisory, SUSE Advisory).
Red Hat tracked the vulnerability via Bugzilla (Bug 2442609) and assessed it as low severity and low priority, with no immediate fix planned for downstream packages at time of disclosure. SUSE issued a security update announcement (SUSE-SU-2026:2258-1) addressing this and other Grafana issues. Coverage was limited to vulnerability database aggregators and national CERTs (INCIBE, CCN-CERT), reflecting the low practical risk of the vulnerability (Red Hat Bugzilla, SUSE Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."