What’s Vulnerable › Vulnerabilities
CVE-2025-12627: Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions
- Severity: low (CVSS 2.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-09-29
- Weakness: CWE-613
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.
Affected products
- WSO2 Identity Server: from 7.0.0 before 7.0.0.130; from 7.1.0 before 7.1.0.38 — fixed in 7.0.0.130, 7.1.0.38
How to fix
Upgrade to a fixed version: WSO2 Identity Server 7.0.0.130, 7.1.0.38. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-12627 or the next vulnerability affects your stack