CVE-2025-15039Account 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by WSO2, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WSO2 Identity Server: affected: 5.7.0 to before 5.7.0.130, 5.8.0 to before 5.8.0.113, 5.9.0 to before 5.9.0.173, 5.10.0 to before 5.10.0.385, 5.11.0 to before 5.11.0.432, 6.0.0 to before 6.0.0.259; fixed in
5.7.0.130,5.8.0.113,5.9.0.173,5.10.0.385,5.11.0.432,6.0.0.259 - WSO2 API Manager: affected: 2.6.0 to before 2.6.0.150, 3.0.0 to before 3.0.0.180, 3.1.0 to before 3.1.0.356, 3.2.0 to before 3.2.0.460, 3.2.1 to before 3.2.1.79, 4.0.0 to before 4.0.0.381; fixed in
2.6.0.150,3.0.0.180,3.1.0.356,3.2.0.460,3.2.1.79,4.0.0.381 - WSO2 Open Banking AM: affected: 1.4.0 to before 1.4.0.143, 1.5.0 to before 1.5.0.144, 2.0.0 to before 2.0.0.405; fixed in
1.4.0.143,1.5.0.144,2.0.0.405 - WSO2 Open Banking IAM: affected: 2.0.0 to before 2.0.0.425; fixed in
2.0.0.425 - WSO2 Traffic Manager: affected: 4.5.0 to before 4.5.0.43, 4.6.0 to before 4.6.0.8; fixed in
4.5.0.43,4.6.0.8 - WSO2 Universal Gateway: affected: 4.5.0 to before 4.5.0.43, 4.5.0 to before 4.5.0.44, 4.6.0 to before 4.6.0.8; fixed in
4.5.0.43,4.5.0.44,4.6.0.8 - WSO2 API Control Plane: affected: 4.5.0 to before 4.5.0.45, 4.6.0 to before 4.6.0.9; fixed in
4.5.0.45,4.6.0.9 - WSO2 Identity Server as Key Manager: affected: 5.7.0 to before 5.7.0.129, 5.9.0 to before 5.9.0.179, 5.10.0 to before 5.10.0.376; fixed in
5.7.0.129,5.9.0.179,5.10.0.376 - WSO2 Open Banking KM: affected: 1.4.0 to before 1.4.0.137, 1.5.0 to before 1.5.0.127; fixed in
1.4.0.137,1.5.0.127 - WSO2 Carbon Identity Application Authentication Framework: affected: 5.12.153 to before 5.12.153.66, 5.12.387 to before 5.12.387.48, 5.14.97 to before 5.14.97.94, 5.17.5 to before 5.17.5.337, 5.17.118 to before 5.17.118.24, 5.18.187 to before 5.18.187.334; fixed in
5.12.153.66,5.12.387.48,5.14.97.94,5.17.5.337,5.17.118.24,5.18.187.334
Solution: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4973/#solution
Vendor advisories:
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.