As of , CVE-2021-39226 in Grafana Labs Grafana is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2021-39226
Grafana Labs Grafana: Authentication Bypass. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- EPSS 0.99
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects grafana before 7.5.11 and from 8.0.0 before 8.1.6.
Fixed in 7.5.11 and 8.1.6.
Vendor advice
Vendor advice: grafana.com, from CISA's entry.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 25 August 2022
- US federal deadline
- 15 September 2022 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- 0.01 on 25 August 2022 EPSS on the day CISA listed it.
- Public exploit
- None found Neither Metasploit nor Exploit-DB lists one.
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
Affects github.com/grafana/grafana before 7.5.11 and from 8.0.0 before 8.1.6.
Fixed in 7.5.11 and 8.1.6.
Advisory GHSA-69j6-29vr-p3j9
Since listing
EPSS since listing
EPSS for CVE-2021-39226 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.01 | |
| 0.97 | |
| 0.94 | |
| 0.93 | |
| 0.97 | |
| 0.91 | |
| 0.96 | |
| 0.97 | |
| 0.94 | |
| 0.99 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
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's 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.
The CVE record's description, from GitHub_M
- CVE published
- 5 October 2021
- Assigned by
- GitHub_M
- CVSS
- 9.8 Critical (CVSS 3.1, from the CNA)
- CWE-287
- Improper Authentication
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Same product
Grafana: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2021-43798Path Traversal | Grafana | Patch this weekMetasploit | Due | 0.89 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0