CVE-2025-12627: Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions

Published Aug 6, 2026
·
Updated

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 Software

1 affected component
WSO2 WSO2 Identity Server

Event History

Aug 6, 2026
CVE Published
via MITRE·07:33 AM
Data Sourced
via MITRE·07:33 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-12627?

The severity of CVE-2025-12627 is classified as low with a score of 2.4.

2

How do I fix CVE-2025-12627?

To fix CVE-2025-12627, ensure proper management of refresh tokens in WSO2 Identity Server to secure impersonated sessions.

3

What type of attack does CVE-2025-12627 enable?

CVE-2025-12627 enables unauthorized actions by allowing an attacker to use obtained refresh tokens from impersonated sessions.

4

Which software is affected by CVE-2025-12627?

CVE-2025-12627 affects WSO2 Identity Server.

5

What does improper refresh token implementation mean in the context of CVE-2025-12627?

In the context of CVE-2025-12627, improper refresh token implementation refers to the failure to adequately manage refresh tokens during user impersonation, leading to security vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203