CVE-2025-12627 in Wso2 Identity Server
The user impersonation flow in WSO2 Identity Server fails to properly manage refresh tokens associated with impersonated sessions. This allows an attacker who has obtained an access token for an impersonated user to leverage the refresh token grant to obtain new access tokens, extending their ability to act as the l...
Affects 1 product from 1 vendor. Facts below cite their sources.
Exploitable from adjacent network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wso2 | Identity Server | ≥ 7.0.0, < 7.0.0.130 ≥ 7.1.0, < 7.1.0.38 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The user impersonation flow in WSO2 Identity Server fails to properly manage refresh tokens associated with impersonated sessions. This allows an attacker who has obtained an access token for an impersonated user to leverage the refresh token grant to obtain new access tokens, extending their ability to act as the legitimate user. An attacker who gains access to an impersonated user's access token can exploit this weakness to renew their authorization. This results in the continued ability to perform actions on behalf of the actual user, compromising log integrity and traceability by masking the true actor.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-12627 |
|---|---|
| CVSS vector | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| Published | 2026-08-06 |
| Last modified | 2026-09-29 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-613: CWE-613
Analysis AI-written, not human-reviewed
A low severity vulnerability (CVE-2025-12627) affects the target system. The user impersonation flow in WSO2 Identity Server fails to properly manage refresh tokens associated with impersonated sessions. This allows an attacker who has obtained an access token for an impersonated user to leverage the refresh token grant t...
Questions
What is CVE-2025-12627?
A low severity vulnerability (CVE-2025-12627) affects the target system. The user impersonation flow in WSO2 Identity Server fails to properly manage refresh tokens associated with impersonated sessions. This allows an attacker who has obtained an access token for an impersonated user to leverage the refresh token grant t...
What is the CVSS score for CVE-2025-12627?
CVE-2025-12627 has CVSS 2.4 (Low). Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.2%.
Is CVE-2025-12627 actively exploited?
No confirmed active exploitation of CVE-2025-12627 as of 2026-10-06.
How do I remediate CVE-2025-12627?
Advisory: https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/
What systems are affected by CVE-2025-12627?
CVE-2025-12627 affects Wso2 Identity Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wso2","product":"Identity Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-29.