{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-39226","published":"2021-10-05T18:15:07.947000Z","last_modified":"2026-06-17T04:03:21.130000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-287","CWE-862"],"cpes":[{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_end_excluding":"7.5.11"},{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"8.0.0","version_end_excluding":"8.1.6"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"}],"cpes_truncated":false,"vendors":["grafana","fedoraproject"],"products":["grafana/grafana","fedoraproject/fedora"],"ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total"},"kev":{"date_added":"2022-08-25","due_date":"2022-09-15","ransomware":false,"forensic_triage":false,"cwes":["CWE-287"]},"epss":{"score":0.99933,"percentile":0.99984,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-69j6-29vr-p3j9","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"0","fixed":"7.5.11"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-69j6-29vr-p3j9","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"8.0.0","fixed":"8.1.6"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":69,"links":{"html_es":"/es/cve/CVE-2021-39226/","html_en":"/en/cve/CVE-2021-39226/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39226","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39226"},"untrusted":{"vendor_name":"Grafana Labs","product_name":"Grafana","desc_en":"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":[{"untrusted_vendor":"grafana","untrusted_product":"grafana"}],"kev":{"vendor":"Grafana Labs","product":"Grafana","name":"Grafana Authentication Bypass Vulnerability","desc":"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.","action":"Apply updates per vendor instructions.","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"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"8c1d36d3f24b9c448688f966658404c7","generated":"2026-11-26T23:13:57.351506Z","es":{"untrusted_title":"Omisión de autenticación y acceso no autorizado a snapshots en Grafana","untrusted_summary":"Grafana versiones anteriores a 7.5.11 y 8.0.0-8.1.5 permiten a usuarios no autenticados y autenticados acceder y eliminar snapshots mediante rutas específicas. Los atacantes pueden visualizar y eliminar todos los datos de snapshots, causando pérdida completa de datos. CISA confirmó esta vulnerabilidad como explotada en la naturaleza."},"en":{"untrusted_title":"Authentication Bypass and Unauthorized Snapshot Access in Grafana","untrusted_summary":"Grafana versions before 7.5.11 and 8.0.0-8.1.5 allow unauthenticated and authenticated users to access and delete snapshots through specific API paths. Attackers can view and delete all snapshot data, resulting in complete data loss. CISA confirmed this vulnerability as exploited in the wild."},"remediation":{"status":"fix","fixed_versions":["7.5.11","8.1.6"],"untrusted_action_es":"Actualiza Grafana a versión 7.5.11 o 8.1.6 según corresponda. Si no puedes actualizar, bloquea acceso a las rutas: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key mediante proxy inverso.","untrusted_action_en":"Update Grafana to version 7.5.11 or 8.1.6 as applicable. If unable to update, block access to paths /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key using a reverse proxy.","vendor_url":"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9"},"reviewed":false},"references":[{"url":"http://www.openwall.com/lists/oss-security/2021/10/05/4","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269","tags":["Patch"]},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/","tags":["Release Notes"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/","tags":["Release Notes"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/","tags":["Broken Link"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0008/","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226","tags":["US Government Resource"]}]}}