CVE-2025-12627

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

State
Published
Severity
2.4 Low
Published
Aug 6, 2026
Updated
Aug 6, 2026
Reserved
Nov 3, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.4 LowCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:NWSO2

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
WSO2 Identity ServerWSO2
  • 7.0.0 to before 7.0.0.130Affected
  • 7.1.0 to before 7.1.0.38Affected
WSO2 Carbon OAuthWSO2
  • 7.0.26 to before 7.0.26.83Affected
  • 7.0.259 to before 7.0.259.31Affected
  • x and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.