WSO2 API Manager
Arbitrary File Upload via System REST API in Multiple WSO2 Products Allows Remote Code Execution
The System REST API accepts user-supplied file uploads without enforcing sufficient validation on the file type or destination, allowing files to be written to arbitrary server-accessible locations. Exploitation requires authenticated administrative access with publisher privileges. Successful exploitation permits an authenticated publisher to upload files to server-accessible locations. Depending on the deployment environment and how uploaded files are handled, this could lead to the execution of uploaded content, potentially resulting in remote code execution.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.4.0, < 4.4.0.67
- >= 4.5.0, < 4.5.0.52
- >= 4.6.0, < 4.6.0.16
Fixed in 4.4.0.67, 4.5.0.52, 4.6.0.16
- >= 4.5.0, < 4.5.0.51
- >= 4.6.0, < 4.6.0.16
Fixed in 4.5.0.51, 4.6.0.16
- >= 4.5.0, < 4.5.0.53
- >= 4.6.0, < 4.6.0.17
Fixed in 4.5.0.53, 4.6.0.17
- >= 4.5.0, < 4.5.0.52
- >= 4.6.0, < 4.6.0.16
Fixed in 4.5.0.52, 4.6.0.16
- >= 9.30.67, < 9.30.67.156
- >= 9.31.86, < 9.31.86.141
- >= 9.32.147, < 9.32.147.44
Fixed in 9.30.67.156, 9.31.86.141, 9.32.147.44, 9.33.104
- >= 9.30.67, < 9.30.67.156
- >= 9.31.86, < 9.31.86.141
- >= 9.32.147, < 9.32.147.44
Fixed in 9.30.67.156, 9.31.86.141, 9.32.147.44, 9.33.104
- >= 9.30.67, < 9.30.67.156
Fixed in 9.30.67.156, 9.33.104
Mitigation
Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5146/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5146/#solution
References
- Vendor advisory security.docs.wso2.com/en/latest/security-announcements/se…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.