PoC Monitor
← All CVEs
CVE-2025-41115published 21 Nov 2025 14:25 UTCData: JSON · API

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

First public PoC 2.5 daysafter publication · 24 Nov 2025
Public PoCs22 on GitHub
CVSS10.0critical · scored by CNA · CWE-266
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Grafana Grafana Enterprise
  • >= 12.0.0, < 12.2.1

Fixed in 12.2.1

Mitigation

Upgrade Grafana Enterprise to 12.2.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 Nov 2025 · t = 0First public PoC24 Nov 2025 · t+2.5d

First 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
RepositoryCreatedStarsAssessment
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 repos

POST /api/scim/v2/Users

Key headers
Authorization: Bearer {var}
Body markers
"schemas" "userName" "externalId" "name" "emails" "active" "externalId":"1" # almost always the main admin" in application/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" in application/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" in application/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.

POST /api/scim/v2/Users
(?i)^/api/scim/v2/Users(?:[?#].*)?$
POST /api/serviceaccounts)
(?i)^/api/serviceaccounts\)(?:[?#].*)?$
POST /api/serviceaccounts/{var}/tokens)
(?i)^/api/serviceaccounts/[^/?#]*/tokens\)(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/scim/v2/Users
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;)
POST /api/serviceaccounts)
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;)
POST /api/serviceaccounts/{var}/tokens)
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.

POST /api/scim/v2/Users
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
POST /api/serviceaccounts)
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
POST /api/serviceaccounts/{var}/tokens)
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