wso2/carbon-apimgt · Security
carbon-apimgt does not properly restrict uploaded files
- GHSA ID
- GHSA-p6jf-79j3-33f3
- CVE ID
- CVE-2025-13590
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Description
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.
CWEs
- CWE-434 · Unrestricted Upload of File with Dangerous Type
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 ↗