CVE-2025-15039
Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products
Check your servers for CVE-2025-15039
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-15039 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Aug 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-693 Protection Mechanism Failure
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WSO2 Identity Server |
unknown before 5.7.0 affected from 5.7.0, before 5.7.0.130 affected from 5.8.0, before 5.8.0.113 affected from 5.9.0, before 5.9.0.173 affected from 5.10.0, before 5.10.0.385 affected from 5.11.0, before 5.11.0.432 affected from 6.0.0, before 6.0.0.259 affected from 6.1.0, before 6.1.0.260 affected from 7.0.0, before 7.0.0.138 affected from 7.1.0, before 7.1.0.45 affected from 7.1.0, before 7.1.0.49 affected from 7.2.0, before 7.2.0.7
Other versions: unaffected
|
| WSO2 API Manager |
unknown before 2.6.0 affected from 2.6.0, before 2.6.0.150 affected from 3.0.0, before 3.0.0.180 affected from 3.1.0, before 3.1.0.356 affected from 3.2.0, before 3.2.0.460 affected from 3.2.1, before 3.2.1.79 affected from 4.0.0, before 4.0.0.381 affected from 4.1.0, before 4.1.0.244 affected from 4.2.0, before 4.2.0.184 affected from 4.3.0, before 4.3.0.95 affected from 4.4.0, before 4.4.0.59 affected from 4.5.0, before 4.5.0.44 affected from 4.6.0, before 4.6.0.8
Other versions: unaffected
|
| WSO2 Open Banking AM |
unknown before 1.4.0 affected from 1.4.0, before 1.4.0.143 affected from 1.5.0, before 1.5.0.144 affected from 2.0.0, before 2.0.0.405
Other versions: unaffected
|
| WSO2 Open Banking IAM |
unknown before 2.0.0 affected from 2.0.0, before 2.0.0.425
Other versions: unaffected
|
| WSO2 Traffic Manager |
unknown before 4.5.0 affected from 4.5.0, before 4.5.0.43 affected from 4.6.0, before 4.6.0.8
Other versions: unaffected
|
| WSO2 Universal Gateway |
affected from 4.5.0, before 4.5.0.43 affected from 4.5.0, before 4.5.0.44 affected from 4.6.0, before 4.6.0.8
Other versions: unaffected
|
| WSO2 API Control Plane |
affected from 4.5.0, before 4.5.0.45 affected from 4.6.0, before 4.6.0.9
Other versions: unaffected
|
| WSO2 Identity Server as Key Manager |
unknown before 5.7.0 affected from 5.7.0, before 5.7.0.129 affected from 5.9.0, before 5.9.0.179 affected from 5.10.0, before 5.10.0.376
Other versions: unaffected
|
| WSO2 Open Banking KM |
unknown before 1.4.0 affected from 1.4.0, before 1.4.0.137 affected from 1.5.0, before 1.5.0.127
Other versions: unaffected
|
|
WSO2 Carbon Identity Application Authentication Framework
package
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework |
affected from 5.12.153, before 5.12.153.66 affected from 5.12.387, before 5.12.387.48 affected from 5.14.97, before 5.14.97.94 affected from 5.17.5, before 5.17.5.337 affected from 5.17.118, before 5.17.118.24 affected from 5.18.187, before 5.18.187.334 affected from 5.18.248, before 5.18.248.34 affected from 5.23.8, before 5.23.8.221 affected from 5.24.8, before 5.24.8.29 affected from 5.25.92, before 5.25.92.177 affected from 5.25.705, before 5.25.705.23 affected from 5.25.713, before 5.25.713.12 affected from 5.25.724, before 5.25.724.8 affected from 5.25.736, before 5.25.736.3 affected from 7.0.78, before 7.0.78.171 affected from 7.8.23, before 7.8.23.95 affected from 7.8.586, before 7.8.586.21 unaffected from 5.25.738 up to and including 5.25.* unaffected 7.8.646 and later
Other versions: unknown
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-15039 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-15039RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-15039Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-15039
trivy image --scanners vuln IMAGE | grep CVE-2025-15039
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4973/ security.docs.wso2.com · vendor advisory
Source: the record CVE-2025-15039 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse