VDB
Sign up
CRITICAL10.0

GHSA-w62r-7c53-fmc5

Grafana Incorrect Privilege Assignment vulnerability

Quick fix

GHSA-w62r-7c53-fmc5 — github.com/grafana/grafana: upgrade to the fixed version with the command below.

go get github.com/grafana/grafana@v12.0.7

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/grafana/grafana
Introduced in: 12.0.0Fixed in: 12.0.7
Fixgo get github.com/grafana/grafana@v12.0.7
Go/github.com/grafana/grafana
Introduced in: 12.1.0Fixed in: 12.1.4
Fixgo get github.com/grafana/grafana@v12.1.4
Go/github.com/grafana/grafana
Introduced in: 12.2.0Fixed in: 12.2.2
Fixgo get github.com/grafana/grafana@v12.2.2
Go/github.com/grafana/grafana
Introduced in: 1.9.2-0.20250310110405-e6fdb746f235Fixed in: 1.9.2-0.20251106142618-ca5d89812015
Fixgo get github.com/grafana/grafana@v1.9.2-0.20251106142618-ca5d89812015

References