Grafana Snapshot Authentication Bypass
CVE-2021-39226 is an authorization flaw in Grafana snapshot functionality. In affected releases, requests using literal snapshot routes can expose the snapshot assigned the lowest database key to unauthenticated or authenticated users. Snapshot deletion is available to authenticated users regardless of the snapshot public-mode setting; unauthenticated deletion is also possible when public mode is enabled. Repeated viewing and deletion can enable traversal of snapshot records.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can access snapshot data and, depending on authentication state and the public-mode configuration, delete snapshots. Combining the viewing and deletion behavior permits enumeration of snapshot data and can cause complete loss of snapshot data, affecting confidentiality, integrity, and availability.
If you can’t patch tonight, do this now.
Where an immediate upgrade is not possible, use a reverse proxy or equivalent control to block the affected literal snapshot viewing and deletion routes. Review reverse-proxy, load-balancer, and Grafana Enterprise audit logs for successful requests to those routes to assess possible exploitation.
Patch, then assume compromise.
Upgrade Grafana to version 7.5.11, 8.1.6, or a later patched release appropriate for the deployed branch.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.