Snapshot disclosure and deletion via literal route matching
Published Oct 5, 2021 · Updated Oct 21, 2025
Authentication bypass in Grafana 2.0.1 through 7.5.10 and 8.0.0 through 8.1.5 allows remote attackers to read snapshot data. The Macaron router treats literal colon-bearing paths as static-route matches, leaves the key parameter empty, and queries the database for its lowest-key snapshot. Viewing needs no authentication; deletion requires authentication unless public_mode is enabled, and repeated requests expose and delete every snapshot.
Summary
What happened
Authentication bypass in Grafana 2.0.1 through 7.5.10 and 8.0.0 through 8.1.5 allows remote attackers to read snapshot data. The Macaron router treats literal colon-bearing paths as static-route matches, leaves the key parameter empty, and queries the database for its lowest-key snapshot. Viewing needs no authentication; deletion requires authentication unless public_mode is enabled, and repeated requests expose and delete every snapshot.
The record
- CVE
- CVE-2021-39226
- Published
- Oct 5, 2021
- Updated
- Oct 21, 2025
- Vendor
- Grafana Labs
- Product
- Grafana
- Classifications
- CWE-287, CWE-862, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 5, 2021CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 7.5.11
- Affected versionversion=>= 8.0.0, < 8.1.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | 2 |
| Sep 11, 2026 | 1 |
| Sep 12, 2026 | Unavailable |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 2 |
| Sep 15, 2026 | 1 |
| Sep 16, 2026 | 2 |
Weakness, pattern, technique
Public exploit references
- Grafana literal snapshot-route reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo