Description
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.
Published: 2026-08-06
Score: 9.1 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The System REST API accepts file uploads without validating the file type or destination, allowing an authenticated publisher to write files to any server‑accessible location on the platform. This flaw can be leveraged to deliver malicious code that may execute when the uploaded content is processed or accessed, providing the attacker with remote code execution capabilities. The weakness stems from an improper file handling mechanism classified as CWE‑434.

Affected Systems

The vulnerability affects multiple WSO2 products, including the API Control Plane, API Manager, API Manager Publisher REST API V4, Carbon API Management API and Implementation, Traffic Manager, and Universal Gateway. Versions are not specified in the advisory, so all released releases before the fix should be considered vulnerable.

Risk and Exploitability

The CVSS score of 9.1 indicates a high severity assessment. No EPSS score is provided, and the issue is not currently listed in CISA’s KEV catalog, but the requirement for authenticated publisher privileges means that any compromised or misconfigured administrative account could be used to exploit the flaw. Successful exploitation would enable attackers to place malicious files on the server, potentially leading to arbitrary code execution and full system compromise. The exploitation pathway relies on the REST API’s lack of file type and path validation, combined with existent administrative access, and therefore represents a significant risk to any organization running the affected WSO2 products.

Generated by OpenCVE AI on August 7, 2026 at 00:55 UTC.

Remediation

Vendor Solution

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5146/#solution


OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch by following the instructions at https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5146/#solution
  • Configure the API gateway to enforce strict file type validation and restrict destination paths, limiting uploads to a designated upload directory
  • Limit publisher privileges to the minimum necessary users, and enable audit logging for all file upload activities

Generated by OpenCVE AI on August 7, 2026 at 00:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Arbitrary File Upload via System REST API in Multiple WSO2 Products Allows Remote Code Execution
First Time appeared Wso2
Wso2 wso2 Api Control Plane
Wso2 wso2 Api Manager
Wso2 wso2 Api Manager Publisher Rest Api V4
Wso2 wso2 Carbon Api Management Api
Wso2 wso2 Carbon Api Management Implementation
Wso2 wso2 Traffic Manager
Wso2 wso2 Universal Gateway
Weaknesses CWE-434
CPEs cpe:2.3:a:wso2:wso2_api_control_plane:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_api_manager:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_api_manager_publisher_rest_api_v4:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_carbon_api_management_api:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_carbon_api_management_implementation:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_traffic_manager:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_universal_gateway:*:*:*:*:*:*:*:*
Vendors & Products Wso2
Wso2 wso2 Api Control Plane
Wso2 wso2 Api Manager
Wso2 wso2 Api Manager Publisher Rest Api V4
Wso2 wso2 Carbon Api Management Api
Wso2 wso2 Carbon Api Management Implementation
Wso2 wso2 Traffic Manager
Wso2 wso2 Universal Gateway
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Wso2 Wso2 Api Control Plane Wso2 Api Manager Wso2 Api Manager Publisher Rest Api V4 Wso2 Carbon Api Management Api Wso2 Carbon Api Management Implementation Wso2 Traffic Manager Wso2 Universal Gateway
cve-icon MITRE

Status: PUBLISHED

Assigner: WSO2

Published:

Updated: 2026-08-06T17:32:14.823Z

Reserved: 2026-03-01T18:52:59.606Z

Link: CVE-2026-3418

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T01:00:05Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type