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
- 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.
Affected software
| Software | Affected versions |
|---|---|
GrafanaServers and applications · cpe:a:grafana:grafana |
|
About Grafana
platform for data analytics and monitoring
- 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
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 13.3 | 13.3.1 | Until 20 Jul 2027 |
| 13.2 | 13.2.6 | Until 18 May 2027 |
| 13.1 | 13.1.10 | Until 20 Mar 2027 |
| 13.0 | 13.0.13 | Until 9 Jan 2027 |
| 12.4 | 12.4.15 | Until 24 May 2027 |
| 12.3 | 12.3.11 | Ended 19 Aug 2026 |
From endoflife.date.
Vulnerabilities in Grafana
- In our list
- 130
- Published in the last 12 months
- 59
- Critical, last 12 months
- 2
- High, last 12 months
- 20
- Known exploited
- 2
- CVE-2026-106475Elasticsearch data source resource proxy allows arbitrary methods and paths with the data source's credentialsHigh 7.1 12 Nov 2026
- CVE-2026-107365Unintended API access through the Google Cloud Monitoring data source resource proxyMedium 5.3 12 Nov 2026
- CVE-2026-81843Memory exhaustion denial of service in Elasticsearch data source index patternsMedium 6.5 12 Nov 2026
- CVE-2026-106472Server-side request forgery in the Prometheus data source resource APIMedium 6.3 12 Nov 2026
- CVE-2026-110289Git Sync connections send credentials to unvalidated server URLsMedium 5.5 11 Nov 2026
- CVE-2026-102589Cross-instance user impersonation through image renderer JWTsHigh 7.1 11 Nov 2026