2.6

CVE-2026-21725: Authorization Bypass via TOCTOU in Grafana Datasource Deletion by Name

Modified
AliasesUBUNTU-CVE-2026-21725CGA-45cc-g7mc-f67qCGA-c5qq-3p9g-2xvx
Published 25-02-2026Last modified 27-08-2026

Vulnerability summary

CVE-2026-21725 is a low (CVSS 2.6) vulnerability in grafana. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.6/10
010
Low · v3.1 (CVE.org)
EPSS score
0.18%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 6

Timeline

  1. 25-02-2026
    PublishedVulnerability first disclosed.
  2. 27-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.17% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard8 products
  • grafana-11.4All versions (No fix recorded)
  • grafana-11.5All versions (No fix recorded)
  • grafana-11.6All versions (No fix recorded)
  • grafana-12.0All versions (No fix recorded)
  • grafana-12.1All versions (No fix recorded)
Wolfi2 products
  • grafana-12.3All versions (No fix recorded)
  • grafana-12.4< 12.4.1-r0
Grafana1 product
  • grafana≥ v11.0.0, < v12.4.1 | ≥ 11.0.0, < 12.4.1
Ubuntu1 product
  • grafanaAll versions (No fix recorded)

4 vendors · 12 products

References

5 links