Advisory

GHSA-w62r-7c53-fmc5

Also known as: BIT-grafana-2025-41115, CVE-2025-41115, GO-2025-4153

Summary

Grafana Incorrect Privilege Assignment vulnerability

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-11-21 15:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/grafana/grafana

Go · All systems

Affected

  • introduced 12.0.0, fixed 12.0.7 (semver)

Fixed versions

12.0.7

Fix

github.com/grafana/grafana

Go · All systems

Affected

  • introduced 12.1.0, fixed 12.1.4 (semver)

Fixed versions

12.1.4

Fix

github.com/grafana/grafana

Go · All systems

Affected

  • introduced 12.2.0, fixed 12.2.2 (semver)

Fixed versions

12.2.2

Fix

github.com/grafana/grafana

Go · All systems

Affected

  • introduced 1.9.2-0.20250310110405-e6fdb746f235, fixed 1.9.2-0.20251106142618-ca5d89812015 (semver)

Fixed versions

1.9.2-0.20251106142618-ca5d89812015

Fix

  • Fixed version 1.9.2-0.20251106142618-ca5d89812015
    go get github.com/grafana/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences