CVE-2021-39226: Grafana Authentication Bypass Vulnerability
Reference page built from the source records below, each shown as its source publishes it. Dataset version ref-6b6833d9e7c8, updated 2026-11-02T23:39:54.475Z.
CISA Known Exploited Vulnerabilities
- Name
- Grafana Authentication Bypass Vulnerability
- Vendor
- Grafana Labs
- Product
- Grafana
- Added to the catalog
- 2022-08-25
- Due date for US federal agencies
- 2022-09-15
- Weaknesses
- CWE-287
- Catalog version
- 2026.10.30
Grafana contains an authentication bypass vulnerability that allows authenticated and unauthenticated users to view and delete all snapshot data, potentially resulting in complete snapshot data loss.
Required action (CISA)
Apply updates per vendor instructions.
Ransomware use: CISA does not mark known use of this vulnerability in ransomware campaigns.
Links in CISA's notes
- https://grafana.com/blog/2021/10/05/grafana-7.5.11-and-8.1.6-released-with-critical-security-fix/
- https://nvd.nist.gov/vuln/detail/CVE-2021-39226
Read on 2026-11-02T23:39:54.475Z under licence cisa-kev-cc0@b0067899 from https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
NVD analysis
- Status
- Analyzed
- Published
- 2021-10-05T18:15:07.947
- Last modified
- 2026-06-17T04:03:21.130
- Weaknesses
- CWE-287, CWE-862
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.
| Metric | Score | Severity | Vector | Scored by |
|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | [email protected] (Secondary) |
| CVSS 3.1 | 7.3 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | [email protected] (Primary) |
| CVSS 2.0 | 6.8 | MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P | [email protected] (Primary) |
References
- http://www.openwall.com/lists/oss-security/2021/10/05/4 (Mailing List, Third Party Advisory)
- https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269 (Patch)
- https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 (Exploit, Mitigation, Vendor Advisory)
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/ (Release Notes)
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/ (Release Notes)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ (Broken Link)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ (Broken Link)
- https://security.netapp.com/advisory/ntap-20211029-0008/ (Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2021/10/05/4 (Mailing List, Third Party Advisory)
- https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269 (Patch)
- https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 (Exploit, Mitigation, Vendor Advisory)
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/ (Release Notes)
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/ (Release Notes)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ (Broken Link)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ (Broken Link)
- https://security.netapp.com/advisory/ntap-20211029-0008/ (Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226 (US Government Resource)
This product uses the NVD API but is not endorsed or certified by the NVD.
Read on 2026-11-02T23:41:59.479Z under licence nvd-api-terms-of-use@ff2a5288 from https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-39226
CVE record
- Title (CNA)
- Snapshot authentication bypass in grafana
- Assigner
- GitHub_M
- State
- PUBLISHED
- Published
- 2021-10-05T17:30:11.000Z
- Updated
- 2025-10-21T23:25:30.669Z
- Problem types
- CWE-287: Improper Authentication
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.
References
- https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
- https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
- [oss-security] 20211005 CVE-2021-39226 Grafana snapshot authentication bypass
- FEDORA-2021-dd83dc8b0b
- https://security.netapp.com/advisory/ntap-20211029-0008/
- FEDORA-2021-01588ab0bf
Read on 2026-11-03T01:08:47.681Z under licence cve-terms-of-use@81bfa2f3 from https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2021/39xxx/CVE-2021-39226.json
Also known as / affected packages
GHSA-69j6-29vr-p3j9
Also known as: CVE-2021-39226. OSV.dev record, GitHub advisory.
- Go github.com/grafana/grafana: introduced 0, fixed 7.5.11
- Go github.com/grafana/grafana: introduced 8.0.0, fixed 8.1.6
Read on 2026-11-03T00:56:20.439Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.osv.dev/v1/vulns/GHSA-69j6-29vr-p3j9
Defensive techniques (MITRE D3FEND)
D3FEND maps these defensive techniques to the weakness (CWE) that NVD lists for this CVE, through the digital artifacts the weakness affects. D3FEND does not say they stop this vulnerability.
CWE-287: Improper Authentication
- Harden: Credential Scrubbing (acts on Subroutine)
- Model: Software Inventory (acts on Software)
- Isolate: User Account Permissions (acts on User Account)
- Harden: Domain Logic Validation (acts on Subroutine)
- Restore: Unlock Account (acts on User Account)
- Harden: Trusted Library (acts on Subroutine)
- Harden: Agent Authentication (acts on User Account)
- Restore: Restore User Account Access (acts on User Account)
- Model: Asset Vulnerability Enumeration (acts on Software)
- Isolate: Application-based Process Isolation (acts on Subroutine)
- Harden: Change Default Password (acts on User Account)
- Restore: Restore Software (acts on Software)
- Harden: Variable Initialization (acts on Subroutine)
- Harden: Software Update (acts on Software)
- Model: Access Modeling (acts on User Account)
- Evict: Account Locking (acts on User Account)
D3FEND ontology version 1.6.0.
Read on 2026-11-02T23:55:44.276Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-287.json
CWE-862: Missing Authorization
D3FEND lists no defensive technique for this weakness.
D3FEND ontology version 1.6.0.
Read on 2026-11-03T00:03:13.281Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-862.json
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/
Sources and licences
CISA
Source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30, CC0 1.0. Use of this data does not imply endorsement by CISA or DHS.
National Vulnerability Database (NIST)
This product uses the NVD API but is not endorsed or certified by the NVD.
NVD API Terms of Use (NIST publications in the public domain, 17 U.S.C. 105)
CVE Program, The MITRE Corporation
Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
GitHub Advisory Database via OSV.dev
GHSA-69j6-29vr-p3j9: GitHub Advisory Database, https://github.com/advisories/GHSA-69j6-29vr-p3j9. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), provided as is, without warranties. Retrieved via OSV.dev (https://osv.dev/vulnerability/GHSA-69j6-29vr-p3j9), which enriches records; fields selected and reformatted by ransomware-tracker.com.
MITRE D3FEND
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/MITRE D3FEND Terms of Use (site + knowledge graph); source repo MIT
Cite this page
Dragons Eye Ransomware Tracker, "CVE-2021-39226: Grafana Authentication Bypass Vulnerability",
entity page, dataset version ref-6b6833d9e7c8, updated 2026-11-02T23:39:54.475Z,
https://ransomware-tracker.com/cve/CVE-2021-39226 (accessed 2026-11-03).
Underlying source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30.
Underlying source: National Vulnerability Database (NIST), CVE API 2.0, record last modified 2026-06-17T04:03:21.130.
Underlying source: CVE List (CVE Program, The MITRE Corporation), record updated 2025-10-21T23:25:30.669Z.
Underlying source: GitHub Advisory Database, GHSA-69j6-29vr-p3j9, via OSV.dev, modified 2026-07-08T06:29:56.330479904Z.
Underlying source: MITRE D3FEND, ontology version 1.6.0.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.