CVE-2025-12627
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.
How to fix
- wso2 identity_server7.0.0.130, 7.1.0.38 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wso2 identity_server | 7.0.0 ≤ v < 7.0.0.130, 7.1.0 ≤ v < 7.1.0.38 | 7.0.0.130, 7.1.0.38 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.