Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-39226: Grafana Snapshot Authentication Bypass

Published Oct 5, 2021 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.3High · v3.1
EPSS99.9%100th percentile
CISA KEVYesAdded Aug 25, 2022
In the wildActivePer CISA KEV
Vendors
Fedora ProjectGrafana Labs
IdentifiersCVE-2021-39226CWE-287 · Improper Authentication

CVE-2021-39226 is an authentication-bypass vulnerability in Grafana's snapshot functionality. Requests containing literal route-parameter placeholders allow unauthenticated or authenticated users to retrieve the snapshot with the lowest database key without knowing its snapshot key. Authenticated users can also delete that snapshot regardless of the snapshot public_mode setting; unauthenticated deletion is possible when public_mode is enabled. Repeatedly viewing and deleting the lowest-key snapshot exposes successive snapshots, permitting disclosure and destruction of all stored snapshot data. Fixes are available in Grafana 7.5.11 and 8.1.6.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Attackers can disclose dashboard snapshot data without possessing the corresponding snapshot keys. Authenticated attackers, or unauthenticated attackers when snapshot public_mode is enabled, can delete snapshots and repeatedly expose subsequent records. Combining retrieval and deletion can disclose all stored snapshot data and cause complete snapshot data loss, affecting confidentiality, integrity, and availability.

Mitigation

If you can’t patch tonight, do this now.

If upgrading is not immediately possible, configure a reverse proxy or equivalent control to block the exact literal paths /api/snapshots/:key, /api/snapshots-delete/:deleteKey, and /dashboard/snapshot/:key. These literal paths have no normal function and can be blocked without affecting legitimate snapshot routes. Review reverse-proxy, load-balancer, and Grafana Enterprise audit logs for successful requests to these paths. Keeping snapshot public_mode disabled prevents unauthenticated deletion but does not prevent unauthorized viewing or deletion by authenticated users.

Remediation

Patch, then assume compromise.

Upgrade Grafana to version 7.5.11 or 8.1.6, as appropriate for the installed branch, or a subsequent patched release. For distribution-managed installations, install the vendor security updates addressing CVE-2021-39226.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Fedora ProjectFedoraoperating_system
Grafana LabsGrafanaapplication
FAQ

Frequently asked questions

Is CVE-2021-39226 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 25, 2022.
Is there a public exploit for CVE-2021-39226?
Yes. As of Nov 19, 2026, Mallory has reports of a public exploit for CVE-2021-39226.
Is there a patch for CVE-2021-39226?
Upgrade Grafana to version 7.5.11 or 8.1.6, as appropriate for the installed branch, or a subsequent patched release. For distribution-managed installations, install the vendor security updates addressing CVE-2021-39226.
What products are affected by CVE-2021-39226?
Grafana Labs Grafana and Fedora Project Fedora.
How severe is CVE-2021-39226?
CVE-2021-39226 has a CVSS v3.1 score of 7.3 (High) and an EPSS score of 99.9% (100th percentile) as of Nov 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.