CVE-2025-12627
Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions
- State
- Published
- Severity
- 2.4 Low
- Published
- Aug 6, 2026
- Updated
- Aug 6, 2026
- Reserved
- Nov 3, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 2.4 Low | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N | WSO2 |
Weaknesses
- CWE-613 Insufficient Session Expiration
Affected Products
| Product | Versions |
|---|---|
WSO2 Identity ServerWSO2 |
|
WSO2 Carbon OAuthWSO2 |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.