CVE-2025-12627: Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions
Vulnerability summary
CVE-2025-12627 is a low (CVSS 2.4) vulnerability in wso2 identity_server. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.7% of scored vulnerabilities.
Not severe (CVSS 2.4, adjacent network); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-08-2026PublishedVulnerability first disclosed.
- 06-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST2.4LowCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Decrease -0.07 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: adjacent network, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Wso23 products
- identity_server≥ 7.0.0, < 7.0.0.130 | ≥ 7.1.0, < 7.1.0.38
- wso2 carbon oauth≥ 7.0.26, < 7.0.26.83 | ≥ 7.0.259, < 7.0.259.31
- wso2 identity server≥ 7.0.0, < 7.0.0.130 | ≥ 7.1.0, < 7.1.0.38
1 vendor · 3 products