CVE-2022-36062 json
Grafana folders admin only permission privilege escalation
published 2022-09-22 4 y ago modified 2026-11-03 5 d ago also BIT-grafana-2022-36062 , EUVD-2024-1710 , GHSA-p978-56hq-r492 , GO-2024-2854
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/grafana/grafana 8.5.13, 9.0.9, 9.1.6
- bitnami grafana 8.5.13, 9.0.9, 9.1.6
- grafana grafana 8.5.13, 9.0.9, 9.1.6
- rhnlib Manager Client Tools 15-BETA 5.0.1-159000.6.30.1
- ansible Manager Client Tools 15-BETA 2.9.27-159000.3.9.1
- grafana Manager Client Tools 15-BETA 9.5.8-159000.4.24.1
- mgr-push Manager Client Tools 15-BETA 5.0.1-159000.4.21.1
- spacecmd Manager Client Tools 15-BETA 5.0.1-159000.6.42.1
- python-hwdata Manager Client Tools 15-BETA 2.3.5-159000.5.13.1
- python-pyvmomi Manager Client Tools 15-BETA 6.7.3-159000.3.6.1
- dracut-saltboot Manager Client Tools Beta for SLE Micro 5, Manager Client Tools 15-BETA 0.1.1681904360.84ef141-159000.3.30.1
suse advisories SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2023:2579-1SUSE-SU-2023:2578-1SUSE-SU-2023:2575-1SUSE-SU-2022:4439-1
- grafana openSUSE Tumbleweed 8.5.13-1.1
opensuse advisories openSUSE-SU-2024:12366-1
- grafana Alpine 3.16 8.5.13-r0
alpine advisories ALPINE-CVE-2022-36062
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-36062 updated cvss 6.4
grafana: Grafana RBAC folders/dashboards privilege escalation
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat build of Quarkus grafana Red Hat Ceph Storage 3 grafana Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8not affected: vulnerable code not present
+5 more productsfewer
Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat OpenShift Container Platform 4 openshift4/ose-grafana Red Hat Storage 3 grafana
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | >=8.5.0, <8.5.13 >=9.0.0, <9.0.9 >=9.1.0, <9.1.6 all versions |
8.5.13 9.0.9 9.1.6 |
| bitnami | grafana | <8.5.13 >=9.0.0, <9.0.9 >=9.1.0, <9.1.6 |
8.5.13 9.0.9 9.1.6 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-281 Improper Preservation of Permissions
References
-
github.com
/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
web, patch, release-notes, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20221215-0001/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36062
advisory, web
-
github.com
/grafana/grafana
package
-
security.netapp.com
/advisory/ntap-20221215-0001
web
Sources
- CVE List CVE-2022-36062
- GitHub Advisory GHSA-p978-56hq-r492
- NVD CVE-2022-36062
- OSV BIT-grafana-2022-36062
- OSV GO-2024-2854
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.