CVE-2021-39226
Detail
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
http://www.openwall.com/lists/oss-security/2021/10/05/4
CVE, GitHub, Inc.
Mailing List
Third Party Advisory
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
CVE, GitHub, Inc.
Patch
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
CVE, GitHub, Inc.
Exploit
Mitigation
Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
CVE, GitHub, Inc.
Release Notes
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
CVE, GitHub, Inc.
Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
CVE, GitHub, Inc.
Broken Link
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
CVE, GitHub, Inc.
Broken Link
https://security.netapp.com/advisory/ntap-20211029-0008/
CVE, GitHub, Inc.
Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226
CISA-ADP
US Government Resource
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference
CISA's BOD 22-01 and Known
Exploited Vulnerabilities Catalog for further guidance and requirements.
Vulnerability Name
Date Added
Due Date
Required Action
Grafana Authentication Bypass Vulnerability
08/25/2022
09/15/2022
Apply updates per vendor instructions.
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-862
Missing Authorization
NIST
CWE-287
Improper Authentication
GitHub, Inc.
Change History
20 change records found show changes
CVE Modified by CISA-ADP
6/17/2026 12:03:21 AM
Action
Type
Old Value
New Value
Added
SSVC
{"timestamp":"2025-02-06T19:36:13.338394Z","id":"CVE-2021-39226","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}
CVE Modified by GitHub, Inc.
6/17/2026 12:03:21 AM
Action
Type
Old Value
New Value
Added
Affected
[{"vendor":"grafana","product":"grafana","versions":[{"version":">= 8.0.0, < 8.1.6","status":"affected"},{"version":"< 7.5.11","status":"affected"}]}]
Modified Analysis by NIST
10/24/2025 10:47:23 AM
Action
Type
Old Value
New Value
Added
Reference Type
CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226 Types: US Government Resource
CVE Modified by CISA-ADP
10/21/2025 8:17:43 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226
CVE Modified by CISA-ADP
10/21/2025 4:18:45 PM
Action
Type
Old Value
New Value
Removed
Reference
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226
CVE Modified by CISA-ADP
10/21/2025 3:19:20 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226
Modified Analysis by NIST
2/18/2025 9:53:42 AM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-862
Removed
CWE
NIST CWE-287
Changed
Reference Type
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Exploit, Vendor Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Exploit, Mitigation, Vendor Advisory
Changed
Reference Type
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Exploit, Vendor Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Exploit, Mitigation, Vendor Advisory
CVE Modified by CVE
11/21/2024 1:18:57 AM
Action
Type
Old Value
New Value
Added
Reference
http://www.openwall.com/lists/oss-security/2021/10/05/4
Added
Reference
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
Added
Reference
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
Added
Reference
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
Added
Reference
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
Added
Reference
https://security.netapp.com/advisory/ntap-20211029-0008/
Modified Analysis by NIST
6/28/2024 10:05:43 AM
Action
Type
Old Value
New Value
Changed
Reference Type
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269 Patch, Third Party Advisory
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269 Patch
Changed
Reference Type
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Exploit, Vendor Advisory
Changed
Reference Type
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/ Release Notes, Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/ Release Notes
Changed
Reference Type
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/ Release Notes, Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/ Release Notes
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ Broken Link
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ Broken Link
Changed
Reference Type
https://security.netapp.com/advisory/ntap-20211029-0008/ Mailing List, Third Party Advisory
https://security.netapp.com/advisory/ntap-20211029-0008/ Third Party Advisory
CVE Modified by GitHub, Inc.
5/14/2024 5:22:34 AM
Action
Type
Old Value
New Value
CVE Modified by GitHub, Inc.
11/06/2023 10:37:36 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
Modified Analysis by NIST
11/28/2021 6:22:05 PM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-287
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc.
11/17/2021 5:19:12 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ [No Types Assigned]
CVE Modified by GitHub, Inc.
11/09/2021 8:18:58 PM
Action
Type
Old Value
New Value
Removed
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ [Mailing List, Third Party Advisory]
Modified Analysis by NIST
11/05/2021 11:28:52 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ Mailing List, Third Party Advisory
Changed
Reference Type
https://security.netapp.com/advisory/ntap-20211029-0008/ No Types Assigned
https://security.netapp.com/advisory/ntap-20211029-0008/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc.
10/29/2021 10:15:30 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/ [No Types Assigned]
CVE Modified by GitHub, Inc.
10/29/2021 9:15:08 AM
Action
Type
Old Value
New Value
Added
Reference
https://security.netapp.com/advisory/ntap-20211029-0008/ [No Types Assigned]
CVE Modified by GitHub, Inc.
10/18/2021 11:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/ [No Types Assigned]
Initial Analysis by NIST
10/08/2021 8:41:39 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Added
CPE Configuration
OR
*cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions up to (excluding) 7.5.11
*cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.1.6
Changed
Reference Type
http://www.openwall.com/lists/oss-security/2021/10/05/4 No Types Assigned
http://www.openwall.com/lists/oss-security/2021/10/05/4 Mailing List, Third Party Advisory
Changed
Reference Type
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269 No Types Assigned
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 No Types Assigned
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9 Third Party Advisory
Changed
Reference Type
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/ No Types Assigned
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/ Release Notes, Vendor Advisory
Changed
Reference Type
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/ No Types Assigned
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/ Release Notes, Vendor Advisory
CVE Modified by GitHub, Inc.
10/05/2021 5:15:09 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.openwall.com/lists/oss-security/2021/10/05/4 [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2021-39226 NVD
Published Date: 10/05/2021 NVD
Last Modified: 06/17/2026
Source: GitHub, Inc.