CVE-2021-39226
7.3, high Known exploitedGrafana Authentication Bypass Vulnerability
- CVSS
- 7.3, high high CVSS v3.1
- EPSS, next 30 days
- 100% higher than 99.9% of scored CVEs
- Exploitation
- Confirmed in the wild
- Published
- 5 Oct 20215 years ago
Known exploited
CISA added this to the Known Exploited Vulnerabilities Catalog on 25 Aug 2022. US federal agencies had to remediate by 15 Sept 2022, a deadline that has passed.
Required action. Apply updates per vendor instructions.
Description
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.
Details
- Vendor
- Grafana Labs
- Product
- grafana
- Weakness
- CWE-287 (opens in a new tab)
- Status
- Analyzed
- Updated
- 17 Jun 2026
- Assigner
- security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References 9
Exploit code 1
Patches and fixes 1
Advisories 2
Other references 5
- grafana.com /docs/grafana/latest/release-notes/release-notes-7-5-11/ (opens in a new tab)
- grafana.com /docs/grafana/latest/release-notes/release-notes-8-1-6/ (opens in a new tab)
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ (opens in a new tab)
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ (opens in a new tab)
- cisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226 (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Grafana Labs CVEs
Every Grafana Labs CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2021-43798 Grafana Path Traversal Vulnerability KEV EPSS 89% 7.5, high
Beyond this page
Is CVE-2021-39226 in your network?
This page tells you how dangerous CVE-2021-39226 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
CVE-2021-39226 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2021-39226 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.