CVE-2025-15039
WSO2 API Manager vulnerability analysis and mitigation

Overview

CVE-2025-15039 is a critical authentication bypass vulnerability in WSO2's Conditional Authentication (Adaptive Authentication) script that fails to correctly enforce the completion of all required multi-step authentication challenges. Successful exploitation allows an unauthenticated attacker to gain unauthorized access to a targeted user account under specific configuration conditions. The vulnerability affects a broad range of WSO2 products including Identity Server (5.7.0–7.2.x), API Manager (2.6.0–4.6.x), API Control Plane (4.5.0–4.6.x), Universal Gateway, Traffic Manager, Open Banking AM/IAM/KM, and Identity Server as Key Manager. It was published on August 6, 2026, with patches made available the same day. It carries a CVSS v3.1 base score of 9.4 (Critical) (GitHub Advisory, WSO2 Advisory).

Technical details

The root cause is classified as CWE-693 (Protection Mechanism Failure): the Conditional Authentication script does not properly track or enforce the completion of all required authentication steps when a specific multi-step pattern is configured. An attacker exploits how the script handles event callbacks and re-execution of authentication steps — by manipulating the callback flow, intermediate authentication challenges (e.g., a secondary MFA factor) can be skipped or bypassed. Exploitation requires no privileges and no user interaction, and is network-accessible with low attack complexity, but is conditional on a specific application login flow configuration: the flow must include a particular secondary authenticator, the Conditional Authentication script must use specific event callbacks with step re-execution, and the targeted user must have one of the impacted authenticators enrolled (GitHub Advisory, WSO2 Advisory).

Impact

Successful exploitation allows a malicious actor to gain unauthorized access to a targeted user account, bypassing multi-factor or adaptive authentication controls. The impact includes high confidentiality and integrity compromise — an attacker with account access could read sensitive data, modify account settings, or perform actions on behalf of the victim. Availability impact is rated low. Given that WSO2 Identity Server and API Manager are often used as central identity and access management platforms, account takeover could enable lateral movement into downstream applications and APIs protected by the compromised identity provider (GitHub Advisory, WSO2 Advisory).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The NVD SSVC assessment classifies exploitation as "none" at this time, though the vulnerability is rated "automatable" with "total" technical impact. The EPSS score is approximately 0.39%, placing it in the 30th percentile for exploitation likelihood within 30 days. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.

Exploitation steps

  1. Reconnaissance: Identify internet-facing WSO2 Identity Server, API Manager, or related product instances running vulnerable versions (e.g., Identity Server < 7.2.0.7, API Manager < 4.6.0.8) using tools like Shodan or Censys.
  2. Identify target configuration: Confirm that the target application's login flow uses a Conditional Authentication (Adaptive Authentication) script configured with specific event callbacks and step re-execution, and that the targeted user has one of the impacted secondary authenticators enrolled.
  3. Complete initial authentication step: Authenticate with valid credentials for the first authentication step (e.g., username/password), satisfying the prerequisite that preceding steps must be completed.
  4. Manipulate callback flow: Exploit the flawed handling of event callbacks in the Conditional Authentication script by crafting or replaying authentication requests that trigger re-execution of an authentication step, causing the script to incorrectly mark intermediate MFA challenges as completed.
  5. Bypass secondary authenticator: Due to the protection mechanism failure, the secondary authentication challenge is not enforced, and the attacker gains an authenticated session for the targeted user account without completing the required MFA step (GitHub Advisory, WSO2 Advisory).

Indicators of compromise

  • Logs: Authentication audit logs showing successful login completions for users where the secondary authentication step was not recorded as completed; unexpected session creation events in WSO2 Identity Server logs without corresponding MFA challenge completion entries.
  • Network: Unusual or repeated authentication requests to WSO2 login endpoints (e.g., /commonauth, /samlsso, /oauth2/authorize) with anomalous callback parameters or step re-execution patterns from a single source IP.
  • Logs: WSO2 Carbon logs (wso2carbon.log) showing abnormal Conditional Authentication script execution paths, particularly repeated invocations of step callbacks without expected authenticator completion events.
  • Behavioral: User account activity (API calls, configuration changes) occurring from sessions that lack corresponding MFA event records in the identity server audit trail.

Mitigation and workarounds

WSO2 released patches on August 6, 2026 (advisory WSO2-2025-4973). Organizations should update to the following fixed versions or later: Identity Server ≥ 7.2.0.7, 7.1.0.49, 7.0.0.138, 6.1.0.260, 6.0.0.259, 5.11.0.432, 5.10.0.385, 5.9.0.173, 5.8.0.133, 5.7.0.130; API Manager ≥ 4.6.0.8, 4.5.0.44, 4.4.0.59, 4.3.0.95, 4.2.0.184, 4.1.0.244, 4.0.0.381, 3.2.0.460, 3.1.0.356, 3.0.0.180, 2.6.0.150; API Control Plane ≥ 4.6.0.9, 4.5.0.45; and corresponding fixed versions for Universal Gateway, Traffic Manager, Open Banking AM/IAM/KM, and Identity Server as Key Manager. As a workaround, review and validate all Conditional Authentication script configurations to ensure event callbacks and step re-execution patterns strictly enforce completion of all required authentication steps. Implement server-side session validation and strict authentication step sequencing controls where possible (WSO2 Advisory, GitHub Advisory).

Community reactions

Security news outlet SecurityOnline.info covered the vulnerability under the headline "WSO2 Account Takeover Flaws" shortly after disclosure (SecurityOnline). The vulnerability was also discussed on Reddit's r/pwnhub CVE daily brief and noted on Bluesky by security community accounts. No major vendor statements beyond WSO2's own advisory have been identified, and no prominent independent researcher commentary has been published at this time.

Additional resources


SourceThis report was generated using AI

Related WSO2 API Manager vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-5430CRITICAL10
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesAug 06, 2026
CVE-2026-1728CRITICAL9.8
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesAug 06, 2026
CVE-2025-15039CRITICAL9.4
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesAug 06, 2026
CVE-2026-0637MEDIUM4.4
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:identity_server
NoYesAug 06, 2026
CVE-2025-13736LOW3.7
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management