CVE-2025-13590: carbon-apimgt does not properly restrict uploaded files
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.
Published Feb 19, 2026 · Updated Aug 14, 2026
Affected packages
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.admin.v1
- Ecosystem
- Maven
- Affected
- < 9.32.167
- Fixed in
- 9.32.167
- Check
mvn dependency:tree -Dincludes=org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.admin.v1
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to sealbenb.
References
- 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
- https://github.com/advisories/GHSA-p6jf-79j3-33f3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
