# CVE-2025-41115: Incorrect privilege assignment

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.64% (percentile 45, 2026-11-26)
- **CWE:** CWE-266
- **Aliases:** BIT-grafana-2025-41115, GHSA-w62r-7c53-fmc5, GO-2025-4153
- **Published:** 2025-11-21T14:25:38.945Z
- **Modified:** 2026-11-23T20:30:06.646Z

## Who should check

- Projects that depend on Go package github.com/grafana/grafana (\>= 12.0.0, \< 12.0.7)
- Anyone running Grafana Enterprise \>= 12.0.0, \< 12.2.1

## 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

## Affected and fixed versions

- Go `github.com/grafana/grafana`: affected \>= 12.0.0, \< 12.0.7; fixed 12.0.7, 12.1.4, 12.2.2, 1.9.2-0.20251106142618-ca5d89812015 (osv)
- Grafana Enterprise: \>= 12.0.0, \< 12.2.1 (cvelist)

## Mitigation

- Upgrade github.com/grafana/grafana to one of 12.0.7, 12.1.4, 12.2.2, 1.9.2-0.20251106142618-ca5d89812015 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-41115. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-41115.md
Affected: github.com/grafana/grafana >= 12.0.0, < 12.0.7
Fixed in: 12.0.7, 12.1.4, 12.2.2, 1.9.2-0.20251106142618-ca5d89812015

Steps:
1. Search this machine and project for github.com/grafana/grafana (Go), Grafana Enterprise: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-41115 being exploited?

There is no confirmed exploitation: CVE-2025-41115 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-41115?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-41115?

github.com/grafana/grafana \>= 12.0.0, \< 12.0.7.

### Is there a fix for CVE-2025-41115?

Yes. Fixed in 12.0.7, 12.1.4, 12.2.2, 1.9.2-0.20251106142618-ca5d89812015. Upgrade github.com/grafana/grafana to one of 12.0.7, 12.1.4, 12.2.2, 1.9.2-0.20251106142618-ca5d89812015 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-41115?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://grafana.com/security/security-advisories/cve-2025-41115>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-41115>
- vendor: <https://github.com/advisories/GHSA-w62r-7c53-fmc5>
- patch: <https://github.com/grafana/grafana/commit/ca5d89812015ef2db3acc62826f73650450b331e>
- other: <https://github.com/grafana/grafana>
- other: <https://github.com/grafana/grafana/releases/tag/v12.0.7>
- other: <https://github.com/grafana/grafana/releases/tag/v12.1.4>
- other: <https://github.com/grafana/grafana/releases/tag/v12.2.2>
- other: <https://github.com/grafana/grafana/releases/tag/v12.3.0>
- other: <https://grafana.com/security/security-advisories/CVE-2025-41115>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-41115>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w62r-7c53-fmc5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4153> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-41115> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-41115>
