Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/grafana/grafana
  4. ›
  5. CVE-2022-36062

CVE-2022-36062: Grafana folders admin only permission privilege escalation

May 14, 2024

On August 29 we have received a bug report for Grafana role-based access control (RBAC) and confirmed a vulnerability in the Grafana. This vulnerability impacts folders/dashboards with Admin only permissions and where RBAC was ever enabled at least once.

When RBAC is enabled, Grafana runs migrations which translate legacy access control permissions into RBAC permissions. The migrations contain a bug, which grants additional access to folders/dashboards which only had Admin role grant, resulting in a privilege escalation where Editors can edit and Viewers can view the folder/dashboard which they should not have access to.

The CVSS score for this vulnerability is 6.4 Moderate (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L).

References

  • github.com/advisories/GHSA-p978-56hq-r492
  • github.com/grafana/grafana
  • github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
  • nvd.nist.gov/vuln/detail/CVE-2022-36062
  • security.netapp.com/advisory/ntap-20221215-0001

Code Behaviors & Features

Detect and mitigate CVE-2022-36062 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.5.0 before 8.5.13, all versions starting from 9.0.0 before 9.0.9, all versions starting from 9.1.0 before 9.1.6

Fixed versions

  • 8.5.13
  • 9.0.9
  • 9.1.6

Solution

Upgrade to versions 8.5.13, 9.0.9, 9.1.6 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-281: Improper Preservation of Permissions

Source file

go/github.com/grafana/grafana/CVE-2022-36062.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.