CVE-2021-39226
Exploitation confirmed. First attested on 2022-08-25 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.
- Published2021-10-05
- Fixed in8.1.6 · 7.5.11
- WeaknessCWE-287 · CWE-862
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCObserved activity
isMalicious corpus · updated 2026-11-04 09:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-39226?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-39226?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.x | ≥ 8.0.0, < 8.1.6 | 8.1.6 | NVD · OSV |
| 7.5 | < 7.5.11 | 7.5.11 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- grafanaAffected
- = >= 8.0.0, < 8.1.6no fix stated
- = < 7.5.11no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2021-10-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ardana-ansibleSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1660748476.c118d23-3.32.1
- ardana-ansibleSUSE:OpenStack Cloud 8all versions · fixed in 8.0+git.1660773729.3789a6d-3.85.1
- ardana-ansibleSUSE:HPE Helion OpenStack 8all versions · fixed in 8.0+git.1660773729.3789a6d-3.85.1
- ardana-cobblerSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1660747489.119efcd-3.19.1
- ardana-cobblerSUSE:OpenStack Cloud 8all versions · fixed in 8.0+git.1660773402.d845a45-3.47.1
- ardana-cobblerSUSE:HPE Helion OpenStack 8all versions · fixed in 8.0+git.1660773402.d845a45-3.47.1
- ardana-tempestSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1651855288.a2341ad-3.22.1
- golang-github-boynux-squid_exporterSUSE:Manager Client Tools 12-BETAall versions · fixed in 1.6-4.9.2
125 more package ranges on OSV.dev
Vendor advisories
grafana: Snapshot authentication bypass
servicemesh-grafana as a component of OpenShift Service Mesh 1 · servicemesh-grafana-prometheus as a component of OpenShift Service Mesh 1 · servicemesh-grafana.src as a component of OpenShift Service Mesh 1 · +11 more
Red Hat Security Advisory: OpenShift Container Platform 4.8.49 security update
Red Hat Security Advisory: OpenShift Container Platform 4.7.59 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.9.48 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.6.61 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 3.11.784 security update
4 more advisories
Fix
- Update Grafana to 8.1.6 · 7.5.11
- CISA’s required action: Apply updates per vendor instructions.due 2022-09-15
- Vendor fix Red Hat Product Security RHSA-2022:6308 · 3 productsFor OpenShift Container Platform 4.8 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.8/release_notes/ocp-4-8-r…
- Vendor fix Red Hat Product Security RHSA-2022:6322 · 3 productsFor OpenShift Container Platform 4.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-r…
- Vendor fix Red Hat Product Security RHSA-2022:6317 · 4 productsFor OpenShift Container Platform 4.9 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.9/release_notes/ocp-4-9-r…
- Vendor fix Red Hat Product Security RHSA-2022:6262 · 3 productsFor OpenShift Container Platform 4.6 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-r…
- Vendor fix Red Hat Product Security RHSA-2022:6252 · 1 productFor OpenShift Container Platform 3.11 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/3.11/release_notes/ocp_3_1…
- Vendor fix Red Hat Product Security RHSA-2022:0056 · 4 productsFor OpenShift Container Platform 4.10 see the following documentation, which will be updated shortly for this release, for moderate instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.10/release_notes/ocp-4-10…
Advisories and patches
- github.comPatch
- github.comMitigation · Vendor Advisory
- grafana.comRelease Notes
- grafana.comRelease Notes
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2022-08-25
- Patch Due Date
- 2022-09-15
- Ransomware Use
- Unknown
- Required Action
- Apply updates per vendor instructions.
Sources
- CISA KEVKEV entry2022-08-25
- ENISA EUVDexploitation2022-08-252022-08-25
- GCVEexploitation2022-08-25
- CISA-ADPSSVC decisionactive2025-02-06
- OpenCVESSVC decisionactive—
- CNACVSS 3.19.8known since 2026-10-23
- NVDCVSS 3.17.3read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- CNAweakness (CWE)CWE-287known since 2026-10-23
- NVDweakness (CWE)CWE-862read 2026-10-23
- FIRST EPSSEPSS score99.9 %read 2026-11-03
- ProjectDiscoverydetectionread 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2021-10-05
Identifiers
- BIT-grafana-2021-39226same flawBitnami · Apache-2.0
- EUVD-2021-2169same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-69j6-29vr-p3j9same flawGitHub Advisory Database · CC-BY-4.0
- OESA-2021-1445advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2022-1929advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2022:0140-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11651-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:3769advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3770advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:3771advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:3771advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-FU-2022:1419-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0138-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:0139-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:1396-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2134-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3338-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3339-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3425-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0191-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Published
- 2021-10-05
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-69j6-29vr-p3j9
Frequently asked questions
What is CVE-2021-39226?
Is CVE-2021-39226 actively exploited?
What is the CVSS score for CVE-2021-39226?
Running Grafana? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2021-43798KEVsame product
- CVE-2020-13379same product
- CVE-2024-9264same product
- CVE-2025-4123same productgrafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect
- CVE-2021-41174same product
- CVE-2021-27358same product
- CVE-2022-34265same product
- CVE-2025-6197same productgrafana: Open Redirect in Grafana
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-69j6-29vr-p3j9
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0