CVE-2025-15039: Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products
The Conditional Authentication (Adaptive Authentication) script does not correctly enforce the completion of all required authentication steps when a specific multi-step pattern involving certain authenticators is configured. This allows an attacker to bypass intermediate authentication challenges by exploiting how the script handles callbacks and re-execution of authentication steps.
Successful exploitation allows a malicious actor to gain unauthorized access to a targeted user account. This vulnerability can only be exploited when all of the following conditions are met: the application login flow contains a specific secondary authenticator, the Conditional Authentication script is configured with particular event callbacks and re-executes an authentication step, the targeted user has one of the impacted authenticators enrolled, and the attacker successfully completes any preceding authentication steps.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-15039?
CVE-2025-15039 has a severity rating of critical with a score of 9.4.
How do I fix CVE-2025-15039?
To fix CVE-2025-15039, apply the latest security patches provided by WSO2 for the affected products.
What are the potential impacts of CVE-2025-15039?
CVE-2025-15039 may allow an attacker to take over accounts by bypassing required authentication steps.
Which software is affected by CVE-2025-15039?
CVE-2025-15039 affects multiple WSO2 products, specifically the WSO2 Identity Server.
When was CVE-2025-15039 published?
CVE-2025-15039 was published on August 6, 2026.