Skip to content

CVE-2025-41115 Incorrect privilege assignment

CriticalCVSS 9.8 EPSS 17.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

Description

SCIM 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

Upgrade path

3 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
grafana github.com/grafana/grafana(Go) >= 1.9.2-0.20250310110405-e6fdb746f235; >= 1.9.2-0.20250310110405-e6fdb746f235, < 1.9.2-0.20251106142618-ca5d89812015; >= 12.0.0, < 12.0.7; >= 12.1.0, < 12.1.4 +1 more 1.9.2-0.20251106142618-ca5d89812015, 12.0.7, 12.1.4, 12.2.2 Partially fixed
Grafana Enterprise >= 12.0.0, < 12.2.1 12.2.1 Fixed
grafana github.com/grafana/grafana >= 12.0.0, < 12.2.1 12.2.1 Fixed

Affected products

ProductAffected versionsFixed in
grafana github.com/grafana/grafana(Go) >= 12.0.0, < 12.0.7 12.0.7
grafana github.com/grafana/grafana(Go) >= 12.1.0, < 12.1.4 12.1.4
grafana github.com/grafana/grafana(Go) >= 12.2.0, < 12.2.2 12.2.2
grafana github.com/grafana/grafana(Go) >= 1.9.2-0.20250310110405-e6fdb746f235, < 1.9.2-0.20251106142618-ca5d89812015 1.9.2-0.20251106142618-ca5d89812015
grafana github.com/grafana/grafana(Go) >= 1.9.2-0.20250310110405-e6fdb746f235 No fix listed
Grafana Enterprise >= 12.0.0, < 12.2.1 12.2.1
grafana github.com/grafana/grafana >= 12.0.0, < 12.2.1 12.2.1

References