All vulnerabilities

Servers and applications

CVE-2026-21725

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…

Severity
Low 2.0
Published
25 Feb 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
12.4.1
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Time-of-check time-of-use race condition (CWE-367)
Attack
Over the network · Only under certain conditions · Needs an administrator account · Needs someone to click or open something
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
Sources
NVD

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.
From NVD.

Affected software

SoftwareAffected versions
GrafanaServers and applications · cpe:a:grafana:grafana
  • From 11.0.0 before 12.4.1

About Grafana

platform for data analytics and monitoring

From Wikidata, CC0 1.0.
Docker Hub pulls
5,390,096,308Docker Hub, 15 Nov 2026
GitHub stars
77,909GitHub, 15 Nov 2026
Forks
14,978GitHub, 15 Nov 2026
Latest release
v13.3.1GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
Developer
Carl BergquistWikidata
License
AGPL-3.0GitHub
Written in
Go, TypeScriptWikidata
First published on GitHub
11 Dec 2013GitHub

Release lines

ReleaseLatestSecurity fixes
13.313.3.1Until 20 Jul 2027
13.213.2.6Until 18 May 2027
13.113.1.10Until 20 Mar 2027
13.013.0.13Until 9 Jan 2027
12.412.4.15Until 24 May 2027
12.312.3.11Ended 19 Aug 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-21725
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-21725