CVE-2025-15039

Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products

State
Published
Severity
9.4 Critical
Published
Aug 6, 2026
Updated
Aug 6, 2026
Reserved
Dec 23, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.4 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LWSO2

Weaknesses

  • CWE-693 Protection Mechanism Failure

Affected Products

ProductVersions
WSO2 Identity ServerWSO2
  • before 5.7.0Unknown
  • 5.7.0 to before 5.7.0.130Affected
  • 5.8.0 to before 5.8.0.113Affected
  • 5.9.0 to before 5.9.0.173Affected
  • 5.10.0 to before 5.10.0.385Affected
  • 5.11.0 to before 5.11.0.432Affected
  • 6.0.0 to before 6.0.0.259Affected
  • 6.1.0 to before 6.1.0.260Affected
  • 7.0.0 to before 7.0.0.138Affected
  • 7.1.0 to before 7.1.0.45Affected
  • 7.1.0 to before 7.1.0.49Affected
  • 7.2.0 to before 7.2.0.7Affected
WSO2 API ManagerWSO2
  • before 2.6.0Unknown
  • 2.6.0 to before 2.6.0.150Affected
  • 3.0.0 to before 3.0.0.180Affected
  • 3.1.0 to before 3.1.0.356Affected
  • 3.2.0 to before 3.2.0.460Affected
  • 3.2.1 to before 3.2.1.79Affected
  • 4.0.0 to before 4.0.0.381Affected
  • 4.1.0 to before 4.1.0.244Affected
  • 4.2.0 to before 4.2.0.184Affected
  • 4.3.0 to before 4.3.0.95Affected
  • 4.4.0 to before 4.4.0.59Affected
  • 4.5.0 to before 4.5.0.44Affected
  • 4.6.0 to before 4.6.0.8Affected
WSO2 Open Banking AMWSO2
  • before 1.4.0Unknown
  • 1.4.0 to before 1.4.0.143Affected
  • 1.5.0 to before 1.5.0.144Affected
  • 2.0.0 to before 2.0.0.405Affected
WSO2 Open Banking IAMWSO2
  • before 2.0.0Unknown
  • 2.0.0 to before 2.0.0.425Affected
WSO2 Traffic ManagerWSO2
  • before 4.5.0Unknown
  • 4.5.0 to before 4.5.0.43Affected
  • 4.6.0 to before 4.6.0.8Affected
WSO2 Universal GatewayWSO2
  • 4.5.0 to before 4.5.0.43Affected
  • 4.5.0 to before 4.5.0.44Affected
  • 4.6.0 to before 4.6.0.8Affected
WSO2 API Control PlaneWSO2
  • 4.5.0 to before 4.5.0.45Affected
  • 4.6.0 to before 4.6.0.9Affected
WSO2 Identity Server as Key ManagerWSO2
  • before 5.7.0Unknown
  • 5.7.0 to before 5.7.0.129Affected
  • 5.9.0 to before 5.9.0.179Affected
  • 5.10.0 to before 5.10.0.376Affected
WSO2 Open Banking KMWSO2
  • before 1.4.0Unknown
  • 1.4.0 to before 1.4.0.137Affected
  • 1.5.0 to before 1.5.0.127Affected
WSO2 Carbon Identity Application Authentication FrameworkWSO2
  • 5.12.153 to before 5.12.153.66Affected
  • 5.12.387 to before 5.12.387.48Affected
  • 5.14.97 to before 5.14.97.94Affected
  • 5.17.5 to before 5.17.5.337Affected
  • 5.17.118 to before 5.17.118.24Affected
  • 5.18.187 to before 5.18.187.334Affected
  • 5.18.248 to before 5.18.248.34Affected
  • 5.23.8 to before 5.23.8.221Affected
  • 5.24.8 to before 5.24.8.29Affected
  • 5.25.92 to before 5.25.92.177Affected
  • 5.25.705 to before 5.25.705.23Affected
  • 5.25.713 to before 5.25.713.12Affected
  • 5.25.724 to before 5.25.724.8Affected
  • 5.25.736 to before 5.25.736.3Affected
  • 7.0.78 to before 7.0.78.171Affected
  • 7.8.23 to before 7.8.23.95Affected
  • 7.8.586 to before 7.8.586.21Affected
  • 5.25.738 through 5.25.*Not affected
  • 7.8.646 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.