Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2021-39226

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-05 Oct, 2021 | 17:30
Updated At-30 Jul, 2025 | 01:37
Rejected At-
Credits

Grafana Authentication Bypass Vulnerability

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Known Exploited Vulnerabilities (KEV)
cisa.gov
Vendor:
Grafana LabsGrafana Labs
Product:Grafana
Added At:25 Aug, 2022
Due At:15 Sep, 2022

Grafana Authentication Bypass Vulnerability

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.

Used in Ransomware

:

Unknown

CWE

:
CWE-287

Required Action:

Apply updates per vendor instructions.

Additional 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
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:05 Oct, 2021 | 17:30
Updated At:30 Jul, 2025 | 01:37
Rejected At:
▼CVE Numbering Authority (CNA)
Snapshot authentication bypass in grafana

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.

Affected Products
Vendor
Grafana Labsgrafana
Product
grafana
Versions
Affected
  • >= 8.0.0, < 8.1.6
  • < 7.5.11
Problem Types
TypeCWE IDDescription
CWECWE-287CWE-287: Improper Authentication
Type: CWE
CWE ID: CWE-287
Description: CWE-287: Improper Authentication
Metrics
VersionBase scoreBase severityVector
3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
x_refsource_CONFIRM
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
x_refsource_MISC
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
x_refsource_MISC
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
x_refsource_MISC
http://www.openwall.com/lists/oss-security/2021/10/05/4
mailing-list
x_refsource_MLIST
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
vendor-advisory
x_refsource_FEDORA
https://security.netapp.com/advisory/ntap-20211029-0008/
x_refsource_CONFIRM
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
vendor-advisory
x_refsource_FEDORA
Hyperlink: https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
Resource:
x_refsource_MISC
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
Resource:
x_refsource_MISC
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
Resource:
x_refsource_MISC
Hyperlink: http://www.openwall.com/lists/oss-security/2021/10/05/4
Resource:
mailing-list
x_refsource_MLIST
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
Resource:
vendor-advisory
x_refsource_FEDORA
Hyperlink: https://security.netapp.com/advisory/ntap-20211029-0008/
Resource:
x_refsource_CONFIRM
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
Resource:
vendor-advisory
x_refsource_FEDORA
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
x_refsource_CONFIRM
x_transferred
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
x_refsource_MISC
x_transferred
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
x_refsource_MISC
x_transferred
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
x_refsource_MISC
x_transferred
http://www.openwall.com/lists/oss-security/2021/10/05/4
mailing-list
x_refsource_MLIST
x_transferred
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
vendor-advisory
x_refsource_FEDORA
x_transferred
https://security.netapp.com/advisory/ntap-20211029-0008/
x_refsource_CONFIRM
x_transferred
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
vendor-advisory
x_refsource_FEDORA
x_transferred
Hyperlink: https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: http://www.openwall.com/lists/oss-security/2021/10/05/4
Resource:
mailing-list
x_refsource_MLIST
x_transferred
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
Resource:
vendor-advisory
x_refsource_FEDORA
x_transferred
Hyperlink: https://security.netapp.com/advisory/ntap-20211029-0008/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
Resource:
vendor-advisory
x_refsource_FEDORA
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
kev
dateAdded:
2022-08-25
reference:
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
CVE-2021-39226 added to CISA KEV2022-08-25 00:00:00
Event: CVE-2021-39226 added to CISA KEV
Date: 2022-08-25 00:00:00
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:05 Oct, 2021 | 18:15
Updated At:18 Feb, 2025 | 14:53

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
2022-08-252022-09-15Grafana Authentication Bypass VulnerabilityApply updates per vendor instructions.
Date Added: 2022-08-25
Due Date: 2022-09-15
Vulnerability Name: Grafana Authentication Bypass Vulnerability
Required Action: Apply updates per vendor instructions.
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary3.17.3HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Primary2.06.8MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
Type: Secondary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Primary
Version: 3.1
Base score: 7.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Type: Primary
Version: 2.0
Base score: 6.8
Base severity: MEDIUM
Vector:
AV:N/AC:M/Au:N/C:P/I:P/A:P
CPE Matches

Grafana Labs
grafana
>>grafana>>Versions before 7.5.11(exclusive)
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
Grafana Labs
grafana
>>grafana>>Versions from 8.0.0(inclusive) to 8.1.6(exclusive)
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
Fedora Project
fedoraproject
>>fedora>>34
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Fedora Project
fedoraproject
>>fedora>>35
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-287Secondarysecurity-advisories@github.com
CWE-862Primarynvd@nist.gov
CWE ID: CWE-287
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-862
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
http://www.openwall.com/lists/oss-security/2021/10/05/4security-advisories@github.com
Mailing List
Third Party Advisory
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269security-advisories@github.com
Patch
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9security-advisories@github.com
Exploit
Mitigation
Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/security-advisories@github.com
Release Notes
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/security-advisories@github.com
Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/security-advisories@github.com
Broken Link
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/security-advisories@github.com
Broken Link
https://security.netapp.com/advisory/ntap-20211029-0008/security-advisories@github.com
Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/10/05/4af854a3a-2127-422b-91ae-364da2661108
Mailing List
Third Party Advisory
https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269af854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9af854a3a-2127-422b-91ae-364da2661108
Exploit
Mitigation
Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/af854a3a-2127-422b-91ae-364da2661108
Release Notes
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/af854a3a-2127-422b-91ae-364da2661108
Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://security.netapp.com/advisory/ntap-20211029-0008/af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Hyperlink: http://www.openwall.com/lists/oss-security/2021/10/05/4
Source: security-advisories@github.com
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
Source: security-advisories@github.com
Resource:
Exploit
Mitigation
Vendor Advisory
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
Source: security-advisories@github.com
Resource:
Broken Link
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
Source: security-advisories@github.com
Resource:
Broken Link
Hyperlink: https://security.netapp.com/advisory/ntap-20211029-0008/
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: http://www.openwall.com/lists/oss-security/2021/10/05/4
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Exploit
Mitigation
Vendor Advisory
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Release Notes
Hyperlink: https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Release Notes
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Broken Link
Hyperlink: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Broken Link
Hyperlink: https://security.netapp.com/advisory/ntap-20211029-0008/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found