Skip to main content
ExploitedIn CISA KEVFix available

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?

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 UTC
  1. 2021-10-0518:15CVE publishedNVD
  2. 2022-08-25Added to the CISA KEV catalogCISA KEV
  3. 2022-08-25Listed as exploited by GCVEGCVE
  4. 2022-08-25Exploitation first reportedCISA KEV
  5. 2025-02-0619:36SSVC exploitation set to activeCISA-ADP

Observed activity

isMalicious corpus · updated 2026-11-04 09:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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
Grafana
BranchAffectedFixed in
8.x≥ 8.0.0, < 8.1.68.1.6
7.5< 7.5.117.5.11
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published

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.

  • grafana
    Affected
    • = >= 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

  • CVE-2021-39226 Red Hat Product Security141 products fixed · 14 known affected

    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

  • RHSA-2022:6308 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.8.49 security update

  • RHSA-2022:6322 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.7.59 bug fix and security update

  • RHSA-2022:6317 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.9.48 bug fix and security update

  • RHSA-2022:6262 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.6.61 bug fix and security update

  • RHSA-2022:6252 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 3.11.784 security update

4 more advisories

Full record on NVD

Fix

  1. Update Grafana to 8.1.6 · 7.5.11
  2. CISA’s required action: Apply updates per vendor instructions.due 2022-09-15
  3. 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…
  4. 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…
  5. 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…
  6. 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…
  7. 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…
  8. 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

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

Identifiers

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?

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.

Is CVE-2021-39226 actively exploited?

Yes. CVE-2021-39226 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2022-09-15.

What is the CVSS score for CVE-2021-39226?

CVE-2021-39226 has a CVSS v3 base score of 7.3 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

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

Sources for this record