CVE-2025-12627 Details
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.
A vulnerability exists in WSO2 Identity Server versions 7.1.0 and 7.0.0, related to the user impersonation flow and its handling of refresh tokens. The issue allows an attacker with an access token from an impersonated user to misuse the refresh token grant to obtain new access tokens. This extension of access enables the attacker to continue acting as the legitimate user, thereby disrupting log integrity and traceability by obscuring the actual actor's identity.
Users of WSO2 Identity Server can update to version 7.1.0 (update level 38) or 7.0.0 (update level 130) to address this vulnerability. Community users can apply the relevant fixes from the public GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4619/ | WSO2 LLC | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-613 | Insufficient Session Expiration | WSO2 LLC |
Affected Products
| Product | Versions |
|---|---|
| wso2 identity server | >= 7.0.0, < 7.0.0.130 >= 7.1.0, < 7.1.0.38 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 29, 2026 | CVE Translated | [email protected] |
| Aug 10, 2026 | Initial Analysis | [email protected] |
| Aug 6, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | WSO2 LLC |