CVE-2025-12627
Published:August 06, 2026
Updated:September 01, 2026
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 Packages
https://github.com/wso2-extensions/identity-inbound-auth-oauth.git (GITHUB):
Affected version(s) >=v5.1.0 <v7.0.378Fix Suggestion:
Update to version v7.0.378org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth (JAVA):
Affected version(s) >=5.2.0 <7.0.378Fix Suggestion:
Update to version 7.0.378Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.8
Attack Vector
ADJACENT
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
2.4
Attack Vector
ADJACENT
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Insufficient Session Expiration
EPSS
Base Score:
0.13