CVE-2022-24812 json
FGAC API Key privilege escalation in Grafana
published 2022-04-12 4 y ago modified 2026-09-08 2 mo ago also BIT-grafana-2022-24812 , EUVD-2022-29612 , GHSA-82gq-xfg3-5j7v
- cvss
- 8.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
Grafana is an open-source platform for monitoring and observability. When fine-grained access control is enabled and a client uses Grafana API Key to make requests, the permissions for that API Key are cached for 30 seconds for the given organization. Because of the way the cache ID is constructed, the consequent requests with any API Key evaluate to the same permissions as the previous requests. This can lead to an escalation of privileges, when for example a first request is made with Admin permissions, and the second request with different API Key is made with Viewer permissions, the second request will get the cached permissions from the previous Admin, essentially accessing higher privilege than it should. The vulnerability is only impacting Grafana Enterprise when the fine-grained access control beta feature is enabled and there are more than one API Keys in one organization with different roles assigned. All installations after Grafana Enterprise v8.1.0-beta1 should be upgraded as soon as possible. As an alternative, disable fine-grained access control will mitigate the vulnerability.
Patch / fix
- bitnami grafana 8.4.6
- grafana grafana 8.4.6
- grafana openSUSE Tumbleweed 8.5.10-1.1
opensuse advisories openSUSE-SU-2024:12282-1
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-24812 updated cvss 8.0
grafana: Privilege Escalation in grafana enterprise
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana, openshift-service-mesh/grafana-rhel8 Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator, 3scale-amp2/3scale-rhel7-operator-metadata Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8, rhacm2/grafana-dashboard-loader-rhel8 Red Hat build of Quarkus grafana Red Hat Ceph Storage 3 grafananot affected: vulnerable code not present
+8 more productsfewer
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Enterprise Linux 8 grafana, grafana-pcp, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, +9 more Red Hat Enterprise Linux 9 grafana, grafana-pcp, grafana-selinux Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-thanos-rhel8, openshift4/ose-prometheus-rhel9-operator, openshift4/ose-prometheus-config-reloader-rhel9, openshift4/ose-cluster-monitoring-rhel9-operator Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8-operator 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
2.36% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | grafana | >=8.1.0, <8.4.6 |
8.4.6 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
github.com
/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v
patch, release-notes, third-party-advisory, advisory
-
grafana.com
/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/
patch, release-notes, vendor-advisory, advisory
-
grafana.com
/docs/grafana/latest/release-notes/release-notes-8-4-6/
release-notes, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220519-0005/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24812
web
Sources
- CVE List CVE-2022-24812
- NVD CVE-2022-24812
- OSV BIT-grafana-2022-24812
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.