# CVE-2025-41115: GO-2025-4153 - Grafana Incorrect Privilege Assignment vulnerability in github.com/grafana/grafana

Source: https://junglewise.ai/threats/cve-2025-41115-grafana-incorrect-privilege-assignment-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-21  
License: CC BY 4.0 with a link back

CVE-2025-41115 · Severity: critical · CVSS 10 · Published 2025-11-21

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

Technologies: [github.com/grafana/grafana (Go)](https://junglewise.ai/threats/technologies/github-com-grafana-grafana), [Grafana](https://junglewise.ai/threats/technologies/grafana-grafana). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Grafana](https://junglewise.ai/threats/vendors/grafana).

## Quick answers

**Is CVE-2025-41115 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-41115 being exploited in the wild.

**How severe is CVE-2025-41115?** Critical severity, with a CVSS score of 10, published 21 November 2025.

**Which products and versions are affected?** github.com/grafana/grafana (Go) SEMVER:introduced=1.9.2-0.20250310110405-e6fdb746f235, SEMVER:introduced=12.0.0,fixed=12.0.7.

**Is there a fix for CVE-2025-41115?** Yes. github.com/grafana/grafana (Go): upgrade to 12.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-41115?** Check whether you run github.com/grafana/grafana (Go) or Grafana at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/grafana/grafana (Go): upgrade to 12.0.7 or later

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


## Affected products

- github.com/grafana/grafana (Go) SEMVER:introduced=1.9.2-0.20250310110405-e6fdb746f235, SEMVER:introduced=12.0.0,fixed=12.0.7
- Grafana

## Identifiers

- CVE-2025-41115
- GHSA-w62r-7c53-fmc5
- GO-2025-4153

## Related threats

- [Grafana Elasticsearch data source denial of service via time range](https://junglewise.ai/threats/cve-2026-81843-grafana-is-an-open-source-platform-for-monitoring-and)
- [Grafana Elasticsearch data source improper authorization in resource proxy](https://junglewise.ai/threats/cve-2026-106475-the-elasticsearch-data-source-resource-proxy-forwards-the)
- [Grafana Prometheus data source path traversal](https://junglewise.ai/threats/cve-2026-106472-grafana-s-prometheus-data-source-passes-the-resource-path)
- [Grafana authorization bypass in team preferences endpoint](https://junglewise.ai/threats/cve-2026-82014-any-authenticated-user-including-a-viewer-could-change-the)
- [Grafana authorization bypass in Git Sync provisioning API](https://junglewise.ai/threats/cve-2026-13721-a-user-with-edit-access-to-one-folder-could-modify-move-or-delete)
