Grafana Enterprise
Incorrect privilege assignment
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 12.0.0, < 12.2.1
Fixed in 12.2.1
Mitigation
Upgrade Grafana Enterprise to 12.2.1 or later.
References
- Vendor advisory grafana.com/security/security-advisories/cve-20…
Timeline
Days relative to CVE publicationFirst public PoC 2.5 days after publication; not in CISA KEV. First PoC: rockmelodies/Blackash-CVE-2025-41115 (created 24 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rockmelodies/Blackash-CVE-2025-41115 | 24 Nov 2025 +2.5 d | 0 | PoC |
| I3r1h0n/GrafanaSCIMalform | 3 Dec 2025 +12 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /api/scim/v2/Users
- Key headers
Authorization: Bearer {var}- Body markers
"schemas""userName""externalId""name""emails""active""externalId":"1" # almost always the main admin"inapplication/json- Ports
- 3000
- Seen in
- 2 repos: I3r1h0n/GrafanaSCIMalform, rockmelodies/Blackash-CVE-2025-41115
- Evidence
- I3r1h0n/GrafanaSCIMalform/exploit/src/main.py:65 rockmelodies/Blackash-CVE-2025-41115/CVE-2025-41115.py:42
POST /api/serviceaccounts)
- Body markers
"name":"test-service-account-2""role":"Admin"inapplication/json- Ports
- 3000
- Seen in
- 1 repo: I3r1h0n/GrafanaSCIMalform
- Evidence
- I3r1h0n/GrafanaSCIMalform/stand/init.sh:3
POST /api/serviceaccounts/{var}/tokens)
- Body markers
"name":"test-service-account-token-2"inapplication/json- Ports
- 3000
- Seen in
- 1 repo: I3r1h0n/GrafanaSCIMalform
- Evidence
- I3r1h0n/GrafanaSCIMalform/stand/init.sh:15
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/scim/v2/Users(?:[?#].*)?$
(?i)^/api/serviceaccounts\)(?:[?#].*)?$
(?i)^/api/serviceaccounts/[^/?#]*/tokens\)(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-41115 Grafana Grafana Enterprise exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/scim/v2/Users"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|schemas|22|"; http.request_body; content:"|22|userName|22|"; http.request_body; content:"|22|externalId|22|"; http.request_body; content:"|22|name|22|"; http.request_body; content:"|22|emails|22|"; http.request_body; content:"|22|active|22|"; http.request_body; content:"|22|externalId|22|:|22|1|22| # almost always the main admin|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-41115; classtype:web-application-attack; sid:9732924; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-41115 Grafana Grafana Enterprise exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/serviceaccounts)"; http.request_body; content:"|22|name|22|:|22|test-service-account-2|22|"; http.request_body; content:"|22|role|22|:|22|Admin|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-41115; classtype:web-application-attack; sid:9498952; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-41115 Grafana Grafana Enterprise exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/serviceaccounts/"; http.uri; content:"/tokens)"; http.request_body; content:"|22|name|22|:|22|test-service-account-token-2|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-41115; classtype:web-application-attack; sid:9055281; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Grafana Grafana Enterprise exploit attempt (CVE-2025-41115)
id: gg-pocmon-cve-2025-41115-9732924
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-41115. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-41115
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/scim/v2/Users'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.41115
title: Grafana Grafana Enterprise exploit attempt (CVE-2025-41115)
id: gg-pocmon-cve-2025-41115-9498952
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-41115. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-41115
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/serviceaccounts)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.41115
title: Grafana Grafana Enterprise exploit attempt (CVE-2025-41115)
id: gg-pocmon-cve-2025-41115-9055281
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-41115. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-41115
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/serviceaccounts/'
- '/tokens)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.41115