BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-21725 in Grafana

Low 2.0

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 deletio...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.12.0
EPSS0.2%
EPSS percentile8th
FixSee advisory

Remotely exploitable over the network, high complexity, high privileges required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Grafana Grafana ≥ 11.0.0, < 12.4.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-21725
BreachSpider IDBS-2026-GLOBAL-274964-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
Published2026-02-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-367: CWE-367

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A low severity vulnerability affects Grafana systems (CVE-2026-21725). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

Vulnerability details: 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 n CVSS vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N.

Questions

What is CVE-2026-21725?

A low severity vulnerability affects Grafana systems (CVE-2026-21725). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

What is the CVSS score for CVE-2026-21725?

CVE-2026-21725 has CVSS 2.0 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N. EPSS: 0.2%.

Is CVE-2026-21725 actively exploited?

No confirmed active exploitation of CVE-2026-21725 as of 2026-09-25.

How do I remediate CVE-2026-21725?

Priority: MONITOR. Advisory: https://grafana.com/security/security-advisories/cve-2026-21725 PSIRT: [email protected]

What systems are affected by CVE-2026-21725?

CVE-2026-21725 affects Grafana Grafana.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Grafana","product":"Grafana","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.