CVE-2022-36062 · GitHub_M
Grafana folders admin only permission privilege escalation
Grafana is an open-source platform for monitoring and observability. In versions prior to 8.5.13, 9.0.9, and 9.1.6, Grafana is subject to Improper Preservation of Permissions resulting in privilege escalation on some folders where Admin is the only used permission. The vulnerability impacts Grafana instances where RBAC was disabled and enabled afterwards, as the migrations which are translating legacy folder permissions to RBAC permissions do not account for the scenario where the only user permission in the folder is Admin, as a result RBAC adds permissions for Editors and Viewers which allow them to edit and view folders accordingly. This issue has been patched in versions 8.5.13, 9.0.9, and 9.1.6. A workaround when the impacted folder/dashboard is known is to remove the additional permissions manually.
Published 2022-09-22, last changed 2026-11-03. Weakness: CWE-281.
How to fix
Upgrade to a fixed version: github.com/grafana/grafana 8.5.13, 9.0.9, 9.1.6 (Go) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2022-09-22 | Published |
| 2024-05-14 | Package advisory GHSA-p978-56hq-r492 |
| 2024-06-05 | Package advisory GO-2024-2854 |
| 2026-11-03 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.77% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-p978-56hq-r492 | github.com/grafana/grafana (Go) | 8.5.13 |
| GHSA-p978-56hq-r492 | github.com/grafana/grafana (Go) | 9.0.9 |
| GHSA-p978-56hq-r492 | github.com/grafana/grafana (Go) | 9.1.6 |
| GO-2024-2854 | github.com/grafana/grafana (Go) | no fix yet |
Also known as: GHSA-p978-56hq-r492, GO-2024-2854
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-42127 | 2026-06-22 | 7.5 | Pre-authentication denial of service in the public dashboard query endpoint |
| CVE-2026-9029 | 2026-06-22 | 5.4 | Stored XSS in the Geomap panel tile-layer attribution |
| CVE-2026-42129 | 2026-06-22 | 7.7 | Path traversal in the Loki data source plugin |
| CVE-2026-10601 | 2026-06-22 | 4.3 | Path traversal in the Tempo and Loki data source plugins |
| CVE-2026-33381 | 2026-05-13 | 8.1 | Users can generate Service Account tokens after permissions removal |
| CVE-2026-33380 | 2026-05-13 | 6.5 | SQL Expressions Read File From Disk |
| CVE-2026-21727 | 2026-04-15 | 3.3 | Grafana Correlations: Cross-Tenant Data Disclosure and Permanent Deletion via Legacy org_id=0 Record |
| CVE-2026-27877 | 2026-03-27 | 7.5 | Public dashboards discloses all direct mode datasources |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2022-36062, or call /api/v1/vulnerabilities/CVE-2022-36062. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.