Grafana · Grafana · CVE-2022-36062
**Name of the Vulnerable Software and Affected Versions**
Grafana versions prior to 8.5.13
Grafana versions prior to 9.0.9
Grafana versions prior to 9.1.6
**Description**
The issue is related to Improper Preservation of Permissions, resulting in privilege escalation on some folders where Admin is the only used permission. This occurs when RBAC was disabled and then enabled, as the migrations 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, allowing them to edit and view folders.
**Recommendations**
For versions prior to 8.5.13, update to version 8.5.13 or later.
For versions prior to 9.0.9, update to version 9.0.9 or later.
For versions prior to 9.1.6, update to version 9.1.6 or later.
As a temporary workaround when the impacted folder/dashboard is known, consider removing the additional permissions manually.