CVE-2022-24812
mediumpriority · track · 36EPSS 0.024 · 84 %ileDEEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedballuff_psirt
Update to the firmware version 2.4.1.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
- Firmware 2.4.1 installed on BAV MA-NC-00025-01all versionsfixedballuff_psirtDEcpe:2.3:o:balluff_gmbh:BAV_MA-NC-00025-01_firmware:2.4.1:*:*:*:*:*:*:*
- Firmware 2.4.1 installed on BNI EGW-720-007-K095all versionsfixedballuff_psirtDEcpe:2.3:o:balluff_gmbh:BNI_EGW-720-007-K095_firmware:2.4.1:*:*:*:*:*:*:*
- Firmware <2.4.1 installed on BAV MA-NC-00025-01all versionsballuff_psirtDEcpe:2.3:o:balluff_gmbh:BAV_MA-NC-00025-01_firmware:*:*:*:*:*:*:*:*
- Firmware <2.4.1 installed on BNI EGW-720-007-K095all versionsballuff_psirtDEcpe:2.3:o:balluff_gmbh:BNI_EGW-720-007-K095_firmware:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- VDE-2026-049Balluff GmbH: Multiple Vulnerabilities Affecting BNI EGW-720-007-K095 and BAV MA-NC-00025-012026-06-30csaf · balluff_psirtDE
Security advisory for Balluff BNI EGW-720-007-K095 and BAV MA-NC-00025-01 firmware versions prior to 2.4.1. This advisory covers multiple vulnerabilities affecting software components used by the device firmware.
- BIT-grafana-2022-24812FGAC API Key privilege escalation in Grafana2024-03-06vendor · osvUS
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 should be upgraded as soon as possible. As an alternative, disable fine-grained access control will mitigate the vulnerability.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-24812cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-24812/cnnvd
- https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7vcnnvd
- https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/cnnvd
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/cnnvd
- https://security.netapp.com/advisory/ntap-20220519-0005/cnnvd
- https://vigilance.fr/vulnerability/Grafana-privilege-escalation-via-API-Key-Previous-Request-38028cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022041315cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan