Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.
CVE-2021-39226
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-08-25), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EPSS
- 100.0%
- KEV
- ⚠ Exploited
Published
October 5, 2021
Last Modified
October 24, 2025
Advisory Details (8)
Auto-updated Jun 1, 2026commit 2d456a637585 (grafana/grafana)
Fix landed in grafana/grafana commit 2d456a637585 — awaiting tagged release
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269oss-security - CVE-2021-39226 Grafana snapshot authentication bypass
http://www.openwall.com/lists/oss-security/2021/10/05/4[SECURITY] Fedora 34 Update: grafana-7.5.11-1.fc34 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/[SECURITY] Fedora 35 Update: grafana-7.5.11-1.fc35 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/What's new in Grafana | Grafana documentation
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/What's new in Grafana | Grafana documentation
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/CVE-2021-39226 Snapshot authentication bypass · Advisory · grafana/grafana · GitHub
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9Vendor Advisories for CVE-2021-39226(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2022:6308Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.8.49 security update
- RHSA-2022:6262Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.6.61 bug fix and security update
- RHSA-2022:0056Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.10.3 security update
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | openshift4/ose-grafana:v4.8.0-202208311019.p0.gf98b47f.assembly.stream | 2022-09-14 | redhat |
| redhat | openshift4/ose-grafana:v4.7.0-202208310205.p0.g613acad.assembly.stream | 2022-09-13 | redhat |
| redhat | openshift4/ose-grafana:v4.9.0-202208311003.p0.g3b7bed6.assembly.stream | 2022-09-12 | redhat |
| redhat | openshift4/ose-grafana:v4.6.0-202208310224.p0.gcf170c0.assembly.stream | 2022-09-09 | redhat |
| redhat | openshift3/grafana:v3.11.784-1.g423963f | 2022-09-07 | redhat |
| redhat | openshift4/ose-grafana:v4.10.0-202202160023.p0.g48aec35.assembly.stream | 2022-03-10 | redhat |
| redhat | grafana-0:6.3.6-3.el8_2 | 2021-10-12 | redhat |
| redhat | grafana-0:7.3.6-3.el8_4 | 2021-10-12 | redhat |
| redhat | grafana-0:6.2.2-7.el8_1 | 2021-10-12 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/grafana/grafana | — | 8.1.6 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(6)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2021:3769IMPORTANT2021-10-05
RHSA-2021:3769 — Important
- Red HatRHSA-2021:3770IMPORTANT2021-10-05
RHSA-2021:3770 — Important
- Red HatRHSA-2021:3771IMPORTANT2021-10-05
RHSA-2021:3771 — Important
- Red HatRHSA-2022:6252IMPORTANT2021-10-05
RHSA-2022:6252 — Important
- Red HatRHSA-2022:6317IMPORTANT2021-10-05
RHSA-2022:6317 — Important
- Red HatRHSA-2022:6322IMPORTANT2021-10-05
RHSA-2022:6322 — Important
Data Freshness Timeline
(refreshed 90× in last 7d / 383× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 545 total refreshes for this CVE.
- 2026-07-12 17:02 UTCEG score recompute
- 2026-07-12 17:02 UTCVendor advisory
- 2026-07-12 13:07 UTCEG score recompute
- 2026-07-12 13:07 UTCVendor advisory
- 2026-07-12 09:13 UTCEG score recompute
- 2026-07-12 09:13 UTCVendor advisory
- 2026-07-12 05:19 UTCEG score recompute
- 2026-07-12 05:19 UTCVendor advisory
- 2026-07-12 01:25 UTCEG score recompute
- 2026-07-12 01:25 UTCVendor advisory
- 2026-07-11 21:31 UTCEG score recompute
- 2026-07-11 21:31 UTCVendor advisory
- 2026-07-11 17:37 UTCEG score recompute
- 2026-07-11 17:37 UTCVendor advisory
- 2026-07-11 13:43 UTCEG score recompute
- 2026-07-11 13:43 UTCVendor advisory
- 2026-07-11 09:49 UTCEG score recompute
- 2026-07-11 09:49 UTCVendor advisory
- 2026-07-11 05:55 UTCEG score recompute
- 2026-07-11 05:55 UTCVendor advisory
- 2026-07-11 02:01 UTCEG score recompute
- 2026-07-11 02:01 UTCVendor advisory
- 2026-07-10 22:07 UTCEG score recompute
- 2026-07-10 22:07 UTCVendor advisory
- 2026-07-10 18:13 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-10 18:13 UTCVendor advisory
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-10 14:18 UTCEG score recompute
- 2026-07-10 14:18 UTCVendor advisory
- 2026-07-10 10:24 UTCEG score recompute
- 2026-07-10 10:24 UTCVendor advisory
- 2026-07-10 06:30 UTCEG score recompute
- 2026-07-10 06:30 UTCVendor advisory
- 2026-07-10 02:34 UTCEG score recompute
- 2026-07-10 02:34 UTCVendor advisory
- 2026-07-09 22:37 UTCEG score recompute
- 2026-07-09 22:37 UTCVendor advisory
- 2026-07-09 18:44 UTCEG score recompute
- 2026-07-09 18:44 UTCVendor advisory
- 2026-07-09 14:49 UTCEG score recompute
- 2026-07-09 14:49 UTCVendor advisory
- 2026-07-09 10:53 UTCEG score recompute
- 2026-07-09 10:53 UTCVendor advisory
- 2026-07-09 06:58 UTCEG score recompute
- 2026-07-09 06:58 UTCVendor advisory
- 2026-07-09 03:04 UTCEG score recompute
- 2026-07-09 03:04 UTCVendor advisory
- 2026-07-08 23:09 UTCEG score recompute
- 2026-07-08 23:09 UTCVendor advisory
- 2026-07-08 19:14 UTCEG score recompute
- 2026-07-08 19:14 UTCVendor advisory
- 2026-07-08 15:18 UTCEG score recompute
- 2026-07-08 15:18 UTCVendor advisory
- 2026-07-08 11:24 UTCEG score recompute
- 2026-07-08 11:24 UTCVendor advisory
- 2026-07-08 07:31 UTCEG score recompute
- 2026-07-08 07:31 UTCVendor advisory
- 2026-07-08 03:36 UTCEG score recompute
- 2026-07-08 03:36 UTCVendor advisory
- 2026-07-07 23:42 UTCEG score recompute
- 2026-07-07 23:42 UTCVendor advisory
- 2026-07-07 19:49 UTCEG score recompute
- 2026-07-07 19:49 UTCVendor advisory
- 2026-07-07 19:01 UTCCISA KEV update
- 2026-07-07 17:16 UTCCISA KEV update
- 2026-07-07 15:55 UTCEG score recompute
- 2026-07-07 15:55 UTCVendor advisory
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-07 11:59 UTCEG score recompute
- 2026-07-07 11:59 UTCVendor advisory
- 2026-07-07 08:05 UTCEG score recompute
- 2026-07-07 08:05 UTCVendor advisory
- 2026-07-07 04:10 UTCEG score recompute
- 2026-07-07 04:10 UTCVendor advisory
- 2026-07-07 00:14 UTCEG score recompute
- 2026-07-07 00:14 UTCVendor advisory
- 2026-07-06 20:20 UTCEG score recompute
- 2026-07-06 20:20 UTCVendor advisory
- 2026-07-06 16:25 UTCEG score recompute
- 2026-07-06 16:25 UTCVendor advisory
- 2026-07-06 12:30 UTCEG score recompute
- 2026-07-06 12:30 UTCVendor advisory
- 2026-07-06 08:36 UTCEG score recompute
- 2026-07-06 08:36 UTCVendor advisory
- 2026-07-06 04:41 UTCEG score recompute
- 2026-07-06 04:41 UTCVendor advisory
- 2026-07-06 00:45 UTCEG score recompute
- 2026-07-06 00:45 UTCVendor advisory
- 2026-07-05 20:51 UTCEG score recompute
- 2026-07-05 20:51 UTCVendor advisory
- 2026-07-05 16:56 UTCEG score recompute
- 2026-07-05 16:56 UTCVendor advisory
- 2026-07-05 13:02 UTCEG score recompute
- 2026-07-05 13:02 UTCVendor advisory
- 2026-07-05 09:08 UTCEG score recompute
- 2026-07-05 09:08 UTCVendor advisory
- 2026-07-05 05:12 UTCEG score recompute
- 2026-07-05 05:12 UTCVendor advisory
- 2026-07-05 01:16 UTCEG score recompute
- 2026-07-05 01:16 UTCVendor advisory
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2021/CVE-2021-39226.yamlFirst seen Jan 1, 2021
Grafana Snapshot - Authentication Bypass
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(6)
What is CVE-2021-39226?
When was CVE-2021-39226 disclosed?
Is CVE-2021-39226 actively exploited?
What is the CVSS score of CVE-2021-39226?
Which products are affected by CVE-2021-39226?
How do I remediate CVE-2021-39226?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-39226
Is Your Infrastructure Affected by CVE-2021-39226?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.