{"id":77972,"date":"2026-02-25T16:05:43","date_gmt":"2026-02-25T12:35:43","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-21725-authorization-bypass-via-toctou-in-grafana-datasource-deletion-by-name\/"},"modified":"2026-02-25T16:05:43","modified_gmt":"2026-02-25T12:35:43","slug":"cve-2026-21725-authorization-bypass-via-toctou-in-grafana-datasource-deletion-by-name","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-21725-authorization-bypass-via-toctou-in-grafana-datasource-deletion-by-name\/","title":{"rendered":"CVE-2026-21725 &#8211; Authorization Bypass via TOCTOU in Grafana Datasource Deletion by Name"},"content":{"rendered":"<p>CVE ID : CVE-2026-21725<\/p>\n<p>Published :  Feb. 25, 2026, 12:35 p.m. | 32\u00a0minutes ago<\/p>\n<p>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.<\/p>\n<p>This requires several very stringent conditions to be met:<\/p>\n<p>&#8211; The attacker must have admin access to the specific datasource prior to its first deletion.<br \/>\n&#8211; Upon deletion, all steps within the attack must happen within the next 30 seconds and on the same pod of Grafana.<br \/>\n&#8211; The attacker must delete the datasource, then someone must recreate it.<br \/>\n&#8211; The new datasource must not have the attacker as an admin.<br \/>\n&#8211; The new datasource must have the same UID as the prior datasource. These are randomised by default.<br \/>\n&#8211; The datasource can now be re-deleted by the attacker.<br \/>\n&#8211; Once 30 seconds are up, the attack is spent and cannot be repeated.<br \/>\n&#8211; No datasource with any other UID can be attacked.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-21725 Published : Feb. 25, 2026, 12:35 p.m. | 32\u00a0minutes ago 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: &#8211; The attacker must have admin access to the specific datasource prior to its &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77972","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77972"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77972\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}