CVE-2025-41115: Grafana Enterprise SCIM numeric externalId lets a user impersonate admins

Critical 9.8 EPSS 17.5%

Grafana Enterprise 12.x maps a SCIM user's externalId directly to the internal user.uid, so a malicious or compromised SCIM client can provision a user with a numeric externalId (for example "1") that is treated as an existing internal account such as the Admin. This allows impersonation or privilege escalation. Only instances with the enableSCIM feature flag on and user_sync_enabled = true in [auth.scim] are affected; Grafana OSS is not. Grafana rates it CVSS 10.0 and found no exploitation in Grafana Cloud.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run the affected software and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Restart grafana-server (or recreate the container) after upgrading.
  4. If you cannot patch today, apply the temporary mitigation below and patch as soon as possible.

Affected and fixed versions

Affected:

Fixed in:

Am I affected?

grafana-server -v || grafana server -v
grep -n -A5 '^\[auth.scim\]' /etc/grafana/grafana.ini
grep -n 'enableSCIM' /etc/grafana/grafana.ini

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
# Grafana APT repository (apt.grafana.com)
sudo apt-get update
sudo apt-get install --only-upgrade grafana-enterprise
sudo systemctl restart grafana-server
Ubuntu
sudo apt-get update
sudo apt-get install --only-upgrade grafana-enterprise
sudo systemctl restart grafana-server
RHEL, AlmaLinux, Rocky, Oracle
# Grafana RPM repository (rpm.grafana.com)
sudo dnf upgrade grafana-enterprise
sudo systemctl restart grafana-server
Docker images
docker pull grafana/grafana-enterprise:12.3.0
# or stay on your minor: grafana/grafana-enterprise:12.2.1-security-01, 12.1.3-security-01, 12.0.6-security-01
# then recreate the container (docker compose up -d) with the new tag

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

If you cannot patch yet

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.