# CVE-2025-15039: Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.4
- **CVSS:** 9.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 37, 2026-12-01)
- **CWE:** CWE-693
- **Published:** 2026-08-06T07:33:23.097Z
- **Modified:** 2026-09-29T14:10:00.117Z

## Who should check

- Anyone running WSO2 Identity Server \>= 5.7.0, \< 5.7.0.130; \>= 5.8.0, \< 5.8.0.113; \>= 5.9.0, \< 5.9.0.173; \>= 5.10.0, \< 5.10.0.385; \>= 5.11.0, \< 5.11.0.432; \>= 6.0.0, \< 6.0.0.259; \>= 6.1.0, \< 6.1.0.260; \>= 7.0.0, \< 7.0.0.138; \>= 7.1.0, \< 7.1.0.45; \>= 7.1.0, \< 7.1.0.49; …
- Anyone running WSO2 API Manager \>= 2.6.0, \< 2.6.0.150; \>= 3.0.0, \< 3.0.0.180; \>= 3.1.0, \< 3.1.0.356; \>= 3.2.0, \< 3.2.0.460; \>= 3.2.1, \< 3.2.1.79; \>= 4.0.0, \< 4.0.0.381; \>= 4.1.0, \< 4.1.0.244; \>= 4.2.0, \< 4.2.0.184; \>= 4.3.0, \< 4.3.0.95; \>= 4.4.0, \< 4.4.0.59; …
- Anyone running WSO2 Open Banking AM \>= 1.4.0, \< 1.4.0.143; \>= 1.5.0, \< 1.5.0.144; \>= 2.0.0, \< 2.0.0.405
- Anyone running WSO2 Open Banking IAM \>= 2.0.0, \< 2.0.0.425
- Anyone running WSO2 Traffic Manager \>= 4.5.0, \< 4.5.0.43; \>= 4.6.0, \< 4.6.0.8
- Anyone running WSO2 Universal Gateway \>= 4.5.0, \< 4.5.0.43; \>= 4.5.0, \< 4.5.0.44; \>= 4.6.0, \< 4.6.0.8
- Anyone running WSO2 API Control Plane \>= 4.5.0, \< 4.5.0.45; \>= 4.6.0, \< 4.6.0.9
- Anyone running WSO2 Identity Server as Key Manager \>= 5.7.0, \< 5.7.0.129; \>= 5.9.0, \< 5.9.0.179; \>= 5.10.0, \< 5.10.0.376

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

## Affected and fixed versions

- WSO2 Identity Server: \>= 5.7.0, \< 5.7.0.130; \>= 5.8.0, \< 5.8.0.113; \>= 5.9.0, \< 5.9.0.173; \>= 5.10.0, \< 5.10.0.385; \>= 5.11.0, \< 5.11.0.432; \>= 6.0.0, \< 6.0.0.259; \>= 6.1.0, \< 6.1.0.260; \>= 7.0.0, \< 7.0.0.138; \>= 7.1.0, \< 7.1.0.45; \>= 7.1.0, \< 7.1.0.49; … (cvelist)
- WSO2 API Manager: \>= 2.6.0, \< 2.6.0.150; \>= 3.0.0, \< 3.0.0.180; \>= 3.1.0, \< 3.1.0.356; \>= 3.2.0, \< 3.2.0.460; \>= 3.2.1, \< 3.2.1.79; \>= 4.0.0, \< 4.0.0.381; \>= 4.1.0, \< 4.1.0.244; \>= 4.2.0, \< 4.2.0.184; \>= 4.3.0, \< 4.3.0.95; \>= 4.4.0, \< 4.4.0.59; … (cvelist)
- WSO2 Open Banking AM: \>= 1.4.0, \< 1.4.0.143; \>= 1.5.0, \< 1.5.0.144; \>= 2.0.0, \< 2.0.0.405 (cvelist)
- WSO2 Open Banking IAM: \>= 2.0.0, \< 2.0.0.425 (cvelist)
- WSO2 Traffic Manager: \>= 4.5.0, \< 4.5.0.43; \>= 4.6.0, \< 4.6.0.8 (cvelist)
- WSO2 Universal Gateway: \>= 4.5.0, \< 4.5.0.43; \>= 4.5.0, \< 4.5.0.44; \>= 4.6.0, \< 4.6.0.8 (cvelist)
- WSO2 API Control Plane: \>= 4.5.0, \< 4.5.0.45; \>= 4.6.0, \< 4.6.0.9 (cvelist)
- WSO2 Identity Server as Key Manager: \>= 5.7.0, \< 5.7.0.129; \>= 5.9.0, \< 5.9.0.179; \>= 5.10.0, \< 5.10.0.376 (cvelist)
- WSO2 Open Banking KM: \>= 1.4.0, \< 1.4.0.137; \>= 1.5.0, \< 1.5.0.127 (cvelist)
- WSO2 Carbon Identity Application Authentication Framework: \>= 5.12.153, \< 5.12.153.66; \>= 5.12.387, \< 5.12.387.48; \>= 5.14.97, \< 5.14.97.94; \>= 5.17.5, \< 5.17.5.337; \>= 5.17.118, \< 5.17.118.24; \>= 5.18.187, \< 5.18.187.334; \>= 5.18.248, \< 5.18.248.34; \>= 5.23.8, \< 5.23.8.221; \>= 5.24.8, \< 5.24.8.29; \>= 5.25.92, \< 5.25.92.177; … (cvelist)

## Mitigation

- Upgrade WSO2 Open Banking AM to 2.0.0.405 or later.
- Upgrade WSO2 Open Banking IAM to 2.0.0.425 or later.
- Upgrade WSO2 Traffic Manager to 4.6.0.8 or later.
- Upgrade WSO2 Universal Gateway to 4.6.0.8 or later.
- Upgrade WSO2 API Control Plane to 4.6.0.9 or later.
- Upgrade WSO2 Identity Server as Key Manager to 5.10.0.376 or later.
- Upgrade WSO2 Open Banking KM to 1.5.0.127 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-15039. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-15039.md
Affected: WSO2 Identity Server >= 5.7.0, < 5.7.0.130; >= 5.8.0, < 5.8.0.113; >= 5.9.0, < 5.9.0.173; >= 5.10.0, < 5.10.0.385; >= 5.11.0, < 5.11.0.432; >= 6.0.0, < 6.0.0.259; >= 6.1.0, < 6.1.0.260; >= 7.0.0, < 7.0.0.138; >= 7.1.0, < 7.1.0.45; >= 7.1.0, < 7.1.0.49; …; WSO2 API Manager >= 2.6.0, < 2.6.0.150; >= …
Fixed in: WSO2 Identity Server 5.7.0.130, WSO2 Identity Server 5.8.0.113, WSO2 Identity Server 5.9.0.173, WSO2 Identity Server 5.10.0.385, WSO2 Identity Server 5.11.0.432, WSO2 Identity Server 6.0.0.259, WSO2 Identity Server 6.1.0.260, WSO2 Identity Server 7.0.0.138, WSO2 Identity Server 7.1.0.45, WSO2 Ident…

Steps:
1. Search this machine and project for WSO2 Identity Server, WSO2 API Manager, WSO2 Open Banking AM, WSO2 Open Banking IAM, WSO2 Traffic Manager, WSO2 Universal Gateway: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-15039 being exploited?

There is no confirmed exploitation: CVE-2025-15039 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-12-01).

### How serious is CVE-2025-15039?

Critical: CVSS 9.4 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-15039?

WSO2 Identity Server \>= 5.7.0, \< 5.7.0.130; \>= 5.8.0, \< 5.8.0.113; \>= 5.9.0, \< 5.9.0.173; \>= 5.10.0, \< 5.10.0.385; \>= 5.11.0, \< 5.11.0.432; \>= 6.0.0, \< 6.0.0.259; \>= 6.1.0, \< 6.1.0.260; \>= 7.0.0, \< 7.0.0.138; \>= 7.1.0, \< 7.1.0.45; \>= 7.1.0, \< 7.1.0.49; …; WSO2 API Manager \>= 2.6.0, \< 2.6.0.150; \>= 3.0.0, \< 3.0.0.180; \>= 3.1.0, \< 3.1.0.356; \>= 3.2.0, \< 3.2.0.460; \>= 3.2.1, \< 3.2.1.79; \>= 4.0.0, \< 4.0.0.381; \>= 4.1.0, \< 4.1.0.244; \>= 4.2.0, \< 4.2.0.184; \>= 4.3.0, \< 4.3.0.95; \>= 4.4.0, \< 4.4.0.59; …; WSO2 Open Banking AM \>= 1.4.0, \< 1.4.0.143; \>= 1.5.0, \< 1.5.0.144; \>= 2.0.0, \< 2.0.0.405; WSO2 Open Banking IAM \>= 2.0.0, \< 2.0.0.425; WSO2 Traffic Manager \>= 4.5.0, \< 4.5.0.43; \>= 4.6.0, \< 4.6.0.8; WSO2 Universal Gateway \>= 4.5.0, \< 4.5.0.43; \>= 4.5.0, \< 4.5.0.44; \>= 4.6.0, \< 4.6.0.8; WSO2 API Control Plane \>= 4.5.0, \< 4.5.0.45; \>= 4.6.0, \< 4.6.0.9; WSO2 Identity Server as Key Manager \>= 5.7.0, \< 5.7.0.129; \>= 5.9.0, \< 5.9.0.179; \>= 5.10.0, \< 5.10.0.376; WSO2 Open Banking KM \>= 1.4.0, \< 1.4.0.137; \>= 1.5.0, \< 1.5.0.127; WSO2 Carbon Identity Application Authentication Framework \>= 5.12.153, \< 5.12.153.66; \>= 5.12.387, \< 5.12.387.48; \>= 5.14.97, \< 5.14.97.94; \>= 5.17.5, \< 5.17.5.337; \>= 5.17.118, \< 5.17.118.24; \>= 5.18.187, \< 5.18.187.334; \>= 5.18.248, \< 5.18.248.34; \>= 5.23.8, \< 5.23.8.221; \>= 5.24.8, \< 5.24.8.29; \>= 5.25.92, \< 5.25.92.177; ….

### Is there a fix for CVE-2025-15039?

Yes. Fixed in WSO2 Identity Server 5.7.0.130, WSO2 Identity Server 5.8.0.113, WSO2 Identity Server 5.9.0.173, WSO2 Identity Server 5.10.0.385, WSO2 Identity Server 5.11.0.432, WSO2 Identity Server 6.0.0.259, WSO2 Identity Server 6.1.0.260, WSO2 Identity Server 7.0.0.138, WSO2 Identity Server 7.1.0.45, WSO2 Identity Server 7.1.0.49, WSO2 API Manager 2.6.0.150, WSO2 API Manager 3.0.0.180, WSO2 API Manager 3.1.0.356, WSO2 API Manager 3.2.0.460, WSO2 API Manager 3.2.1.79, WSO2 API Manager 4.0.0.381, WSO2 API Manager 4.1.0.244, WSO2 API Manager 4.2.0.184, WSO2 API Manager 4.3.0.95, WSO2 API Manager 4.4.0.59, WSO2 Open Banking AM 1.4.0.143, WSO2 Open Banking AM 1.5.0.144, WSO2 Open Banking AM 2.0.0.405, WSO2 Open Banking IAM 2.0.0.425, WSO2 Traffic Manager 4.5.0.43, WSO2 Traffic Manager 4.6.0.8, WSO2 Universal Gateway 4.5.0.43, WSO2 Universal Gateway 4.5.0.44, WSO2 Universal Gateway 4.6.0.8, WSO2 API Control Plane 4.5.0.45, WSO2 API Control Plane 4.6.0.9, WSO2 Identity Server as Key Manager 5.7.0.129, WSO2 Identity Server as Key Manager 5.9.0.179, WSO2 Identity Server as Key Manager 5.10.0.376, WSO2 Open Banking KM 1.4.0.137, WSO2 Open Banking KM 1.5.0.127, WSO2 Carbon Identity Application Authentication Framework 5.12.153.66, WSO2 Carbon Identity Application Authentication Framework 5.12.387.48, WSO2 Carbon Identity Application Authentication Framework 5.14.97.94, WSO2 Carbon Identity Application Authentication Framework 5.17.5.337, WSO2 Carbon Identity Application Authentication Framework 5.17.118.24, WSO2 Carbon Identity Application Authentication Framework 5.18.187.334, WSO2 Carbon Identity Application Authentication Framework 5.18.248.34, WSO2 Carbon Identity Application Authentication Framework 5.23.8.221, WSO2 Carbon Identity Application Authentication Framework 5.24.8.29, WSO2 Carbon Identity Application Authentication Framework 5.25.92.177. Upgrade WSO2 Open Banking AM to 2.0.0.405 or later. Upgrade WSO2 Open Banking IAM to 2.0.0.425 or later. Upgrade WSO2 Traffic Manager to 4.6.0.8 or later. Upgrade WSO2 Universal Gateway to 4.6.0.8 or later. Upgrade WSO2 API Control Plane to 4.6.0.9 or later. Upgrade WSO2 Identity Server as Key Manager to 5.10.0.376 or later. Upgrade WSO2 Open Banking KM to 1.5.0.127 or later.

### How do I check if I'm affected by CVE-2025-15039?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4973/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-15039>

HTML: <https://flawdb.com/CVE-2025-15039> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-15039>
