CVE-2025-12627 Auth bypass in WSO2 Carbon OAuth
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.
Other vulnerabilities in Wso2 Identity Server
- CVE-2016-4311 Cross-site request forgery in n/a
- CVE-2025-10470 Denial-of-Service via Magic Link Authentication in WSO2 Identity Server Allows Service Unavailability
- CVE-2025-12107 Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
- CVE-2016-4312 XML external entity in n/a
- CVE-2025-10908 Account Lock Bypass via Magic Link or Pass Key Authentication in WSO2 Identity Server Allows Unauthorized Access
Sources
Also known as GHSA-8j24-697m-8w28.