Skip to main content
← All vulnerabilities
CVE-2025-12627

Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.0.130, 7.1.0.38, 7.0.26.83, 7.0.259.31
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • WSO2 WSO2 Identity Server

    From 7.0.0 · fixed in 7.0.0.130; From 7.1.0 · fixed in 7.1.0.38

  • org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth

    From 7.0.26 · fixed in 7.0.26.83; From 7.0.259 · fixed in 7.0.259.31

References 1

security.docs.wso2.com