CVEBrief

Home / grafana / grafana / CVE-2021-39226

CVE-2021-39226: is it exploited, and which versions of grafana are affected and fixed?

CVE-2021-39226 is an authentication bypass (improper authentication) vulnerability in grafana, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on August 25, 2022, with a federal due date of September 15, 2022. Affected: github.com/grafana/grafana before 7.5.11 and github.com/grafana/grafana from 8.0.0 before 8.1.6 (GitHub advisory GHSA-69j6-29vr-p3j9). Fixed in 7.5.11 and 8.1.6 (GitHub advisory GHSA-69j6-29vr-p3j9). Severity: Critical (9.8, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.

Exploited in the wild
Yes, CISA KEV
added August 25, 2022, due September 15, 2022
Affected
github.com/grafana/grafana before 7.5.11 and github.com/grafana/grafana from 8.0.0 before 8.1.6
GitHub advisory GHSA-69j6-29vr-p3j9
Fixed in
7.5.11 and 8.1.6
GitHub advisory GHSA-69j6-29vr-p3j9
Severity
Critical 9.8
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
99.9% in 30 days
higher than 100% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is 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.

From the CVE record by GitHub_M, last updated October 21, 2025, 23:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
grafanagrafana>= 8.0.0, < 8.1.6
< 7.5.11

As the CVE record by GitHub_M states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/grafana/grafana< 7.5.117.5.11GHSA-69j6-29vr-p3j9
Gogithub.com/grafana/grafana>= 8.0.0, < 8.1.68.1.6GHSA-69j6-29vr-p3j9

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Authentication bypass for viewing and deletions of snapshots.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
grafanagrafanabefore 7.5.11application
grafanagrafanafrom 8.0.0 before 8.1.6application
fedoraprojectfedora34operating system
fedoraprojectfedora35operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 04:03 UTC.

How severe is CVE-2021-39226?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M
High 7.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LNVD
Medium 6.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-39226 exploited in the wild?

CISA KEV
Listed as Grafana Authentication Bypass Vulnerability, added August 25, 2022; federal agencies must act by September 15, 2022
Required action
Apply updates per vendor instructions.
Ransomware use
Unknown
CISA's summary
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.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 6, 2025)
EPSS
99.9% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 16, 2021
Published
October 5, 2021, 17:30 UTC
CVE record updated
October 21, 2025, 23:25 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 04:03 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect grafana?

Every CVE in grafana

Questions about CVE-2021-39226

Is CVE-2021-39226 exploited in the wild?

Yes. CISA added CVE-2021-39226 to its Known Exploited Vulnerabilities catalog on August 25, 2022 and set federal agencies a due date of September 15, 2022. FIRST's EPSS gives it a 99.9% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of grafana are affected by CVE-2021-39226?

github.com/grafana/grafana before 7.5.11 and github.com/grafana/grafana from 8.0.0 before 8.1.6, per the GitHub advisory GHSA-69j6-29vr-p3j9. The tables above give every range the sources list.

Which version fixes CVE-2021-39226?

7.5.11 and 8.1.6, per the GitHub advisory GHSA-69j6-29vr-p3j9. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-39226?

Critical (9.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2021-39226?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.