9.8

CVE-2021-39226: Grafana Authentication Bypass Vulnerability

KEV
Analyzed
AliasesRHSA-2021:3769RHSA-2021:3770RHSA-2021:3771
Published 05-10-2021Last modified 21-10-2025

Vulnerability summary

CVE-2021-39226 is a critical (CVSS 9.8) Improper Authentication vulnerability in Grafana Labs Grafana. It is known to be exploited: CISA lists it, first on 25-08-2022. EPSS estimates a 99.93% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Act nowlisted as exploited

Listed as exploited by CISA (25-08-2022)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
99.93%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 10 · Related 10

Timeline

  1. 05-10-2021
    PublishedVulnerability first disclosed.
  2. 25-08-2022
    Added to CISA KEVExploitedGrafana Authentication Bypass Vulnerability
  3. 15-09-2022
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

99.93%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 99.93% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
25-08-2022
Federal due date
15-09-2022
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Grafana

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat14 products
  • grafana< 0:6.2.2-7.el8_1 | < 0:6.3.6-3.el8_2 | < 0:7.3.6-3.el8_4
  • grafana-azure-monitor< 0:6.2.2-7.el8_1 | < 0:6.3.6-3.el8_2
  • grafana-cloudwatch< 0:6.2.2-7.el8_1 | < 0:6.3.6-3.el8_2
  • grafana-debuginfo< 0:6.2.2-7.el8_1 | < 0:6.3.6-3.el8_2 | < 0:7.3.6-3.el8_4
  • grafana-elasticsearch< 0:6.2.2-7.el8_1 | < 0:6.3.6-3.el8_2
Fedoraproject1 product
Github.com/grafana1 product
  • grafana< 7.5.11 | ≥ 8.0.0, < 8.1.6
Grafana1 product
  • grafana< 7.5.11 | ≥ 8.0.0, < 8.1.6
Opensuse1 product
  • grafana&distro=openSUSE Tumbleweed< 7.5.11-3.1
Ubuntu1 product
  • grafanaAll versions (No fix recorded)

6 vendors · 19 products

References

33 links
Show all 33 references