CVE-2025-41115: Github.com/grafana/grafana Grafana Incorrect Privilege Assignment Vulnerability Vulnerability
CRITICALCVE-2025-41115 is a CRITICAL (CVSS 10.0) grafana incorrect privilege assignment vulnerability vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Github.com/grafana/grafana libraries in the Go ecosystem. The issue involves grafana incorrect privilege assignment vulnerability. Remediation is available by upgrading affected packages to version 12.0.7, 12.1.4, 12.2.2, 1.9.2-0.20251106142618-ca5d89812015.
CVE-2025-41115 at a Glance
Security Impact
CVSS: 10.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-41115
To remediate this vulnerability, upgrade all affected Github.com/grafana/grafana dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/grafana/grafana to 12.0.7
Upgrade github.com/grafana/grafana to 12.1.4
Upgrade github.com/grafana/grafana to 12.2.2
Upgrade github.com/grafana/grafana to 1.9.2-0.20251106142618-ca5d89812015
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/grafana/grafana
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-41115, inspect your project dependencies for Github.com/grafana/grafana:
inspect dependencies for github.com/grafana/grafana
Analyze the terminal output to locate any version of Github.com/grafana/grafana in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.0.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Github.com/grafana/grafana, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-41115 Affected Github.com/grafana/grafana Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/grafana/grafana
|
Go |
≥ 12.0.0
< 12.0.7
|
12.0.7
|
|
github.com/grafana/grafana
|
Go |
≥ 12.1.0
< 12.1.4
|
12.1.4
|
|
github.com/grafana/grafana
|
Go |
≥ 12.2.0
< 12.2.2
|
12.2.2
|
|
github.com/grafana/grafana
|
Go |
≥ 1.9.2-0.20250310110405-e6fdb746f235
< 1.9.2-0.20251106142618-ca5d89812015
|
1.9.2-0.20251106142618-ca5d89812015
|
References
Frequently Asked Questions
What is CVE-2025-41115?
Which Github.com/grafana/grafana versions are affected?
What version fixes CVE-2025-41115?
Is github.com/grafana/grafana affected?
What is the CVSS score of CVE-2025-41115?
What CWE is associated with CVE-2025-41115?
How can I check Go dependencies for CVE-2025-41115?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w62r-7c53-fmc5",
"modified" : "2025-11-27T08:39:59Z",
"published" : "2025-11-21T15:31:28Z",
"aliases" : [ "CVE-2025-41115" ],
"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.\n\nIn 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.\n\nThis vulnerability applies only if all of the following conditions are met:\n- `enableSCIM` feature flag set to true\n- `user_sync_enabled` config option in the `[auth.scim]` block set to true",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/grafana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0"
}, {
"fixed" : "12.0.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/grafana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.1.0"
}, {
"fixed" : "12.1.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/grafana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.2.0"
}, {
"fixed" : "12.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/grafana"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.9.2-0.20250310110405-e6fdb746f235"
}, {
"fixed" : "1.9.2-0.20251106142618-ca5d89812015"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-41115"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/grafana/commit/ca5d89812015ef2db3acc62826f73650450b331e"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-w62r-7c53-fmc5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grafana/grafana"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/grafana/releases/tag/v12.0.7"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/grafana/releases/tag/v12.1.4"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/grafana/releases/tag/v12.2.2"
}, {
"type" : "WEB",
"url" : "https://github.com/grafana/grafana/releases/tag/v12.3.0"
}, {
"type" : "WEB",
"url" : "https://grafana.com/security/security-advisories/CVE-2025-41115"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-266" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-21T18:11:52Z",
"nvd_published_at" : "2025-11-21T15:15:52Z"
}
}