Skip to main content
CVE Radar
CISA KEVhighAuth Bypasspublic exploit

CVE-2021-39226

CVE-2021-39226 — 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.

Published Updated Sources: NVD, grafana (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Red Hat (VEX), SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Confirmed

CISA KEV, listed Aug 25, 2022

EPSS

100%

top of FIRST's scoreset

Affects

Grafana

4 products listed

CVSS base

7.3

high · 4 sources

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

Active

none · proof-of-concept · active

Automatable

Yes

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Remediation

The vendor's own words where we have them.

Upgrade github.com/grafana/grafana to 7.5.11 or later (go advisory GHSA-69j6-29vr-p3j9).

CISA required action

Apply updates per vendor instructions.

Federal deadline Sep 15, 2022 — passed 1,541 days ago

Red Hat VEX · CVE-2021-39226

fixed141affected14not affected2292

vendor_fix: For 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 an…

vendor_fix: For 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…

vendor_fix: For 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…

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Treat as emergency remediation because CISA KEV status is present.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
Grafanagrafana>= 8.0.0, < 8.1.6Vulnerable
Grafanagrafana< 7.5.11Vulnerable
Gogithub.com/grafana/grafana< 7.5.11Vulnerable
Gogithub.com/grafana/grafana>= 8.0.0, < 8.1.6Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

Low

Confidentiality

Low

Integrity

Low

Scope

Unchanged

Attack Complexity

Low

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.1critical3.95.9GitHub (CNA), grafana (CNA)
7.3CVSS 3.1high3.93.4NVD, Red Hat (VEX)
6.8CVSS 2.0medium8.66.4NVD
7.3CVSS 3.1highn/an/aGHSA

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-287 · Improper Authentication

  • Read Application Data
  • Gain Privileges or Assume Identity
  • Execute Unauthorized Code or Commands

Mitigation: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.::

CWE-862 · Missing Authorization

  • Read Application Data
  • Read Files or Directories
  • Modify Application Data
  • Modify Files or Directories

Mitigation: Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.

Weakness & attack patterns

  • CWE-287Improper Authentication
  • CWE-862

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

CAPEC-151 · Identity SpoofingCAPEC-57 · Utilizing REST's Trust in the System Resource to Obtain Sensitive DataCAPEC-194 · Fake the Source of DataCAPEC-22 · Exploiting Trust in ClientCAPEC-650 · Upload a Web Shell to a Web ServerCAPEC-593 · Session HijackingCAPEC-114 · Authentication AbuseCAPEC-94 · Man in the Middle AttackCAPEC-633 · Token ImpersonationCAPEC-115 · Authentication Bypass
  • T1548Abuse Elevation Control Mechanism
  • T1040Network Sniffing
  • T1185Browser Session Hijacking

CISA KEV details

CISA lists a CVE here once it has evidence of exploitation against real targets.

Listed

Aug 25, 2022

Federal deadline

Sep 15, 2022

passed 1,541 days ago

Ransomware use

Unknown

CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

PoC repos

12

3 of the 5 sampled are weaponized

Exploit entries

6

Exploit-DB and CTI exploit indexes

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Search application, proxy, and WAF logs for requests touching /dashboard/snapshot/:key, /api/snapshots/:key, /api/snapshots-delete/:deleteKey.
  • Prioritize edge telemetry for network-reachable Grafana, Github.com/grafana/grafana.
  • Monitor for scanner or exploit-pattern traffic after 18 public PoC repositories were reported.
web/proxy/WAF logsapplication logsnetwork IDS/IPSidentity provider logsauthentication audit logs

Exposure queries

Search-engine queries that surface exposed instances. Run them against your own estate first.

SOCRadar
  • title:"Grafana"

Groups associated with this CVE

Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.

  • ip188.143.233.169

    Zonefiles · Aug 26, 2020

  • ip191.241.187.1648

    Proxy · Oct 3, 2026

  • hostnamenerdlabsoftware.com62

    SOCRadar Threat Exchange Services · Oct 20, 2025

  • ip142.44.185.21682

    Public Attackers · Nov 5, 2026

  • ip117.72.184.17276

    Maltiverse IP List · Aug 15, 2025

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 7.3 (AV:N)

    Jun 17, 2026 · NVD

  3. 2025
  4. Bulletin released on NIST.

    Oct 16, 2025 · SOCRadar CTI

  5. Bulletin released on NIST.

    Oct 16, 2025 · SOCRadar CTI

  6. Bulletin released on Mitre.

    Jul 28, 2025 · SOCRadar CTI

  7. Bulletin released on Mitre.

    Feb 7, 2025 · SOCRadar CTI

  8. 2024
  9. Bulletin released on NIST.

    Jun 28, 2024 · SOCRadar CTI

  10. 2023
  11. CVE is exploited. "Ostorlab/KEV"

    Dec 26, 2023 · SOCRadar CTI

  12. CVE is exploited. "ARPSyndicate/cvemon"

    Dec 4, 2023 · SOCRadar CTI

  13. CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"

    Dec 4, 2023 · SOCRadar CTI

  14. CVE is exploited. "StarCrossPortal/scalpel"

    Dec 4, 2023 · SOCRadar CTI

  15. CVE is exploited. "kh4sh3i/Grafana-CVE"

    Dec 4, 2023 · SOCRadar CTI

  16. 2022
  17. Bulletin released on INTW.

    Aug 26, 2022 · SOCRadar CTI

  18. Added to CISA KEV catalog

    Aug 25, 2022 · CISA

  19. 2021
  20. Initial · CVE published

    Oct 5, 2021 · NVD

  21. Added · GHSA-69j6-29vr-p3j9 published (high)

    Oct 5, 2021 · GitHub Security Advisory

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 7×TweetsFeb 24, 2024 – Apr 8, 2025 · SOCRadar CTI
  • 6×ModifiedJun 28, 2024 – Oct 24, 2025 · SOCRadar CTI
  • 3×Github ReposSep 2, 2022 – Dec 4, 2023 · SOCRadar CTI
  • 2×SvrsSep 21, 2022 – Apr 8, 2025 · SOCRadar CTI

References

24 on the record

Coverage

1 story from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2021-39226 is Snapshot authentication bypass in grafana, a high vulnerability affecting Grafana, Github.com/grafana/grafana from Grafana, Go. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 18 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.3 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.