CVE-2025-12627

published 6 Aug 2026 · updated 6 Aug 2026

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

2.4LowCVSS 2.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Carbon OAuth 7.0.259.31, Carbon OAuth 7.0.26.83, Identity Server 7.0.0.130 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2Carbon OAuth>=7.0.259 <7.0.259.31, >=7.0.26 <7.0.26.837.0.259.31, 7.0.26.83
WSO2Identity Server>=7.0.0 <7.0.0.130, >=7.1.0 <7.1.0.387.0.0.130, 7.1.0.38

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-12627 severity on Zeptric[![CVE-2025-12627](https://zeptric.io/badge/cve/CVE-2025-12627.svg)](https://zeptric.io/cve/CVE-2025-12627)