cve.bz

CVE-2026-21725 grafana grafana

2.0 lowEPSS 0.2%

Low (2.0) in grafana grafana. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

2.0 low
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-21725 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-21725?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-21725?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-21725 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Grafanafrom v11.0.0 before v12.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2026-21725
SUSELinux Enterprise Module for Package Hub 15 SP7grafana12.4.5-150200.3.91.1SUSE-SU-2026:3718-1
SUSEMulti Linux Manager Tools SLE-15golang-github-lusitaniae-apache_exporter1.0.10-150002.3.6.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.5.0-150002.3.8.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15grafana11.6.14+security01-150002.4.14.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15spacecmd5.1.13-150002.3.9.3SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5prometheus-blackbox_exporter0.26.0-150002.3.6.1SUSE-SU-2026:1524-1
SUSEMulti Linux Manager Tools SLE-15, Multi Linux Manager Tools SLE-Micro-5uyuni-tools5.1.26-150002.3.12.1SUSE-SU-2026:1524-1
openSUSELeap 16.0grafana11.6.14+security04-bp160.1.1openSUSE-SU-2026:20940-1
openSUSELeap 16.0grafana12.4.5-bp160.1.1openSUSE-SU-2026:21351-1
openSUSETumbleweedgrafana11.6.14+security01-1.1openSUSE-SU-2026:10601-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7rhceph/grafana-rhel9Fix deferred
Red Hat Ceph Storage 8rhceph/grafana-rhel9Fix deferred
Red Hat Enterprise Linux 10grafanaFix deferred
Red Hat Enterprise Linux 8grafanaFix deferred
Red Hat Enterprise Linux 9grafanaFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-21725.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON