critical9.1
CVE-2025-13590
carbon-apimgt does not properly restrict uploaded files
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.admin.v1 | < 9.32.167 | 9.32.167 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Wso2 | Api Control Plane | Versions 4.5.0, 4.6.0 |
| Wso2 | Api Manager | Versions 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0 |
| Wso2 | Traffic Manager | Versions 4.5.0, 4.6.0 |
| Wso2 | Universal Gateway | Versions 4.5.0, 4.6.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4849/
- https://github.com/advisories/GHSA-p6jf-79j3-33f3
- https://nvd.nist.gov/vuln/detail/CVE-2025-13590
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4849
- https://github.com/wso2/carbon-apimgt/pull/13560
- https://github.com/wso2/carbon-apimgt/commit/49a6427b39a5d9552ce97430858bb4b1912a3044
- https://github.com/wso2/carbon-apimgt/releases/tag/v9.32.167