{"api_version":"1","generated_at":"2026-04-23T06:19:38+00:00","cve":"CVE-2021-39226","urls":{"html":"https://cve.report/CVE-2021-39226","api":"https://cve.report/api/cve/CVE-2021-39226.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39226","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39226"},"summary":{"title":"CVE-2021-39226","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-10-05 18:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269","name":"https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269","refsource":"MISC","tags":[],"title":"Fix static path matching issue in macaron · grafana/grafana@2d456a6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/","name":"FEDORA-2021-dd83dc8b0b","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: grafana-7.5.11-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/","name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/","refsource":"MISC","tags":[],"title":"404 Page not found  | Grafana Labs","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/","name":"FEDORA-2021-dd83dc8b0b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: grafana-7.5.11-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/","name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/","refsource":"MISC","tags":[],"title":"404 Page not found  | Grafana Labs","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9","name":"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9","refsource":"CONFIRM","tags":[],"title":"Snapshot authentication bypass · Advisory · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2021/10/05/4","name":"[oss-security] 20211005 CVE-2021-39226 Grafana snapshot authentication bypass","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2021-39226 Grafana snapshot authentication bypass","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/","name":"FEDORA-2021-01588ab0bf","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: grafana-7.5.11-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/","name":"FEDORA-2021-01588ab0bf","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: grafana-7.5.11-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20211029-0008/","name":"https://security.netapp.com/advisory/ntap-20211029-0008/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-39226 Grafana Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-39226","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39226","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"39226","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"39226","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"39226","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"grafana","cpe5":"grafana","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":{"cve_year":"2021","cve_id":"39226","cve":"CVE-2021-39226","vendorProject":"Grafana Labs","product":"Grafana","vulnerabilityName":"Grafana Authentication Bypass Vulnerability","dateAdded":"2022-08-25","shortDescription":"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.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-09-15","knownRansomwareCampaignUse":"Unknown","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","cwes":"CWE-287","catalogVersion":"2026.04.22","updated_at":"2026-04-22 20:03:10"},"epss":{"cve_year":"2021","cve_id":"39226","cve":"CVE-2021-39226","epss":"0.943500000","percentile":"0.999590000","score_date":"2026-04-22","updated_at":"2026-04-23 00:03:16"},"legacy_qids":[{"cve":"CVE-2021-39226","qid":"159413","title":"Oracle Enterprise Linux Security Update for grafana (ELSA-2021-3771)"},{"cve":"CVE-2021-39226","qid":"239695","title":"Red Hat Update for grafana (RHSA-2021:3770)"},{"cve":"CVE-2021-39226","qid":"239696","title":"Red Hat Update for grafana (RHSA-2021:3769)"},{"cve":"CVE-2021-39226","qid":"239724","title":"Red Hat Update for grafana (RHSA-2021:3771)"},{"cve":"CVE-2021-39226","qid":"281995","title":"Fedora Security Update for grafana (FEDORA-2021-dd83dc8b0b)"},{"cve":"CVE-2021-39226","qid":"376934","title":"Alibaba Cloud Linux Security Update for grafana (ALINUX3-SA-2021:0073)"},{"cve":"CVE-2021-39226","qid":"690217","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (757ee63b-269a-11ec-a616-6c3be5272acd)"},{"cve":"CVE-2021-39226","qid":"730238","title":"Grafana Enterprise Snapshot Authentication Bypass Vulnerability"},{"cve":"CVE-2021-39226","qid":"751629","title":"OpenSUSE Security Update for grafana (openSUSE-SU-2022:0140-1)"},{"cve":"CVE-2021-39226","qid":"752251","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2022:2134-1)"},{"cve":"CVE-2021-39226","qid":"940331","title":"AlmaLinux Security Update for grafana (ALSA-2021:3771)"},{"cve":"CVE-2021-39226","qid":"960005","title":"Rocky Linux Security Update for grafana (RLSA-2021:3771)"},{"cve":"CVE-2021-39226","qid":"980094","title":"Go (go) Security Update for github.com/grafana/grafana (GHSA-69j6-29vr-p3j9)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-39226","STATE":"PUBLIC","TITLE":" Snapshot authentication bypass in grafana"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"grafana","version":{"version_data":[{"version_value":">= 8.0.0, < 8.1.6"},{"version_value":"< 7.5.11"}]}}]},"vendor_name":"grafana"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-287: Improper Authentication"}]}]},"references":{"reference_data":[{"name":"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9","refsource":"CONFIRM","url":"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9"},{"name":"https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269","refsource":"MISC","url":"https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269"},{"name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/","refsource":"MISC","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/"},{"name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/","refsource":"MISC","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/"},{"refsource":"MLIST","name":"[oss-security] 20211005 CVE-2021-39226 Grafana snapshot authentication bypass","url":"http://www.openwall.com/lists/oss-security/2021/10/05/4"},{"refsource":"FEDORA","name":"FEDORA-2021-dd83dc8b0b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20211029-0008/","url":"https://security.netapp.com/advisory/ntap-20211029-0008/"},{"refsource":"FEDORA","name":"FEDORA-2021-01588ab0bf","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/"}]},"source":{"advisory":"GHSA-69j6-29vr-p3j9","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-10-05 18:15:00","lastModifiedDate":"2023-11-07 03:37:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.1.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionEndExcluding":"7.5.11","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"39226","Ordinal":"214810","Title":"CVE-2021-39226","CVE":"CVE-2021-39226","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"39226","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"39226","Ordinal":"2","NoteData":"2021-10-05","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"39226","Ordinal":"3","NoteData":"2021-10-29","Type":"Other","Title":"Modified"}]}}}