WSO2 API Manager
CVE-2025-13590
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain WSO2 admin credentials
-
DeliveryReach management REST API
-
ExploitCall vulnerable upload endpoint with crafted path
-
InstallWrite payload into executable deployment directory
-
C2Trigger payload via HTTP request
-
ExecuteExecute code as WSO2 service account
-
ImpactPivot to API secrets and gateway control
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authentication to the WSO2 management plane as a user holding administrative privileges (PR:H), and network reachability to the system REST API endpoint that performs the file upload. The attacker must be able to specify both the upload payload and a destination path that resolves to a runtime-executed location inside the WSO2 deployment (such as a webapp or OSGi directory). No user interaction is needed (UI:N) and the attack runs over the network (AV:N), but exploitation is gated by admin credential possession and by whatever network restrictions the operator has placed on the management interface; installations that expose the management API only on an internal/management network materially limit reachability. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H produces 7.2 (High) because exploitation yields full host compromise but only after the attacker holds administrative credentials, which is a substantial gate. EPSS at 0.28% (51st percentile) and the absence of KEV listing or any known public PoC are consistent with that gating: this is a meaningful post-authentication escalation rather than an internet-spray target. Real-world priority should be driven by exposure of the WSO2 admin/management plane - installations whose Carbon management consoles or system REST APIs are reachable from untrusted networks, or that share admin credentials across environments, face materially higher risk because any admin-credential compromise becomes a server takeover. SSVC-style framing: exploitation status is none-observed, automatable is likely no (requires valid admin auth), technical impact is total. No conflicts between signals were observed; the main uncertainty is the lack of an independently verifiable fixed-version string in the public NVD data, which the vendor advisory should clarify. |
| Exploit ScenarioDerived | An attacker who has obtained valid WSO2 administrative credentials - for example by phishing an operator, reusing leaked passwords, or pivoting from another compromised internal system - authenticates to the management REST API and issues an upload request that places a JSP/web-shell or malicious JAR into a directory served or class-loaded by the Carbon runtime. The next request to that path executes the payload in the JVM, giving the attacker code execution as the WSO2 service account and a foothold to read API secrets, modify gateway routing, and pivot deeper into the API infrastructure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 18, 2026
Authenticated remote code execution affects multiple WSO2 products (API Manager 4.2.0-4.6.0, API Control Plane 4.5.0-4.6.0, Universal Gateway 4.5.0, and Traffic Manager 4.5.0-4.6.0) through an unrestricted file upload exposed via a system REST API. An administrator-level attacker can place an arbitrary file at a user-controlled path and trigger code execution on the host. No public exploit identified at time of analysis, EPSS is low at 0.28%, and a vendor patch is available per WSO2 advisory WSO2-2025-4849.
Earlier versions of this analysis (2)
Authenticated remote code execution in WSO2 API Manager and related products (API Control Plane, Traffic Manager, Universal Gateway versions 4.2.0-4.6.0) allows administrators to upload arbitrary files to attacker-chosen deployment paths via a system REST API, enabling code execution on the host. No public exploit identified at time of analysis, and EPSS exploitation probability is low (~0.28%, 51st percentile), but a vendor patch is available and the high integrity/confidentiality/availability impact warrants prompt remediation in admin-exposed deployments.
Admin file upload to arbitrary locations in VMware product.
RemediationAI
Patch available per vendor advisory WSO2-2025-4849 (https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4849/); apply the WSO2 update / WUM patch released for your specific product line (API Manager 4.2.0-4.6.0, API Control Plane 4.5.0/4.6.0, Universal Gateway 4.5.0, Traffic Manager 4.5.0/4.6.0) and restart the Carbon server so any modified deployment directories are re-scanned. Until the patch is deployed, compensating controls include restricting network reachability of the management REST APIs and Carbon admin console to a dedicated management VLAN or VPN (which breaks any external admin tooling), enforcing strong unique passwords plus MFA on every admin role and rotating any default super-admin credentials, and tightening role-based access so day-to-day publishers and devops users do not hold the admin scope that this endpoint requires (this may require splitting existing all-in-one admin accounts). Defenders can also monitor write activity in the Carbon deployment, webapp, and OSGi bundle directories and alert on unexpected new files, accepting that this is detective rather than preventive.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WSO2 API Manager and its companion products (API Control Plane, Universal Gateway, Traffic Manager) are Java-based middleware for API lifecycle management, gateway traffic shaping, and policy enforcement, typically deployed on the Carbon platform. The flaw is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type): a privileged system REST API endpoint accepts file uploads without sufficient validation of file type or destination path, allowing the caller to choose where the file is written inside the deployment. When the chosen path falls under a directory that the Carbon runtime executes or class-loads from (for example a webapp or OSGi deployment directory), the uploaded payload becomes executable code in the JVM context of the server process.
Know when Api Control Plane gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable management API (AV:N), no special conditions beyond admin auth (AC:L), administrative privileges required (PR:H), no user interaction, full host compromise gives C/I/A:H.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
A malicious actor with administrative privileges can upload an arbitrary file to a user-controlled location within the deployment via a system REST API. Successful uploads may lead to remote code execution.
By leveraging the vulnerability, a malicious actor may perform Remote Code Execution by uploading a specially crafted payload.
Executive ViewAI
WSO2 API Manager and related products (versions 4.2.0-4.6.0) contain an authenticated remote code execution vulnerability via unrestricted file upload in a system REST API. Administrators or anyone with compromised admin credentials can execute arbitrary code on the host, exposing API infrastructure and backend systems used by the organization.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
More in Api Control Plane
View allUnauthenticated remote attackers can exploit missing authentication and authorization checks in the WSO2 API Manager key
Administrative users of WSO2 API Manager (3.0.0 through 4.4.0) and related WSO2 components such as API Control Plane 4.5
Improper access control in WSO2 API Manager 2.0.0 through 3.2.1 and WSO2 API Control Plane 4.5.0 allows an authenticated
Reflected cross-site scripting in a WSO2 product allows unauthenticated remote attackers to inject arbitrary JavaScript
A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoints of multiple WSO2 products du
An authenticated stored cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to improper valida
A missing authentication enforcement vulnerability exists in the mutual TLS (mTLS) implementation used by System REST AP
A Cross-Site Request Forgery (CSRF) vulnerability exists in multiple WSO2 products due to the use of the HTTP GET method
A reflected cross-site scripting (XSS) vulnerability exists in the management console of multiple WSO2 products due to i
An arbitrary code execution vulnerability exists in multiple WSO2 products due to insufficient restrictions in the Graal
An arbitrary file upload vulnerability exists in multiple WSO2 products due to insufficient validation of uploaded conte
An XML External Entity (XXE) vulnerability exists in multiple WSO2 products due to improper configuration of the XML par
GHSA-p6jf-79j3-33f3
NVD
CVE.org
EPSS
VulDB
Exploit-DB