CVE-2025-12627 Auth bypass in WSO2 Carbon OAuth

Low 2.4 Published Updated

Attackers can extend unauthorized access as impersonated users by exploiting improper refresh token handling in WSO2 Identity Server.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12627?

CVE-2025-12627 is a low-severity authentication bypass vulnerability in Wso2 Identity Server, published on 6 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-613

Which versions are affected by CVE-2025-12627?

It affects 1 product.

Products include Wso2 Identity Server.

How do I fix CVE-2025-12627?

No fix has been published for CVE-2025-12627 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-12627 being exploited?

There is no known exploitation of CVE-2025-12627 in the wild and no public exploit code.

All Wso2 Identity Server vulnerabilities

Sources

Also known as GHSA-8j24-697m-8w28.

Is CVE-2025-12627 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free