Incorrect privilege assignment
Grafana Enterprise
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana Go |
|
|
Grafana Enterprise
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana Go |
|
|
12.2.21.9.2-0.20251106142618-ca5d89812015SCIM provisioning was introduced in Grafana Enterprise and Grafana Cloud in April to improve how organizations manage users and teams in Grafana by introducing automated user lifecycle management.
In Grafana versions 12.x where SCIM provisioning is enabled and configured, a vulnerability in user identity handling allows a malicious or compromised SCIM client to provision a user with a numeric externalId, which in turn could allow to override internal user IDs and lead to impersonation or privilege escalation.
This vulnerability applies only if all of the following conditions are met: - `enableSCIM` feature flag set to true - `user_sync_enabled` config option in the `[auth.scim]` block set to true
From the CVE record · GRAFANA
In Grafana 12.x, SCIM user identity handling is vulnerable when both the `enableSCIM` feature flag and `[auth.scim] user_sync_enabled` are set to true. A malicious or compromised SCIM client can provision a user with a numeric `externalId`, potentially overriding an internal user ID and enabling impersonation or privilege escalation.
Teams running Grafana Enterprise 12.0.0–12.0.6, 12.1.0–12.1.3, or 12.2.0–12.2.1 with SCIM user sync enabled should check their installations.