Remote code execution through unrestricted file upload
Overview
Certain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a /fileupload endpoint with a Content-Disposition directory traversal sequence to reach a directory under the web root, such as a ../../../../repository/deployment/server/webapps directory. This affects WSO2 API Manager 2.2.0 up to 4.0.0, WSO2 Identity Server 5.2.0 up to 5.11.0, WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0 and 5.6.0, WSO2 Identity Server as Key Manager 5.3.0 up to 5.11.0, WSO2 Enterprise Integrator 6.2.0 up to 6.6.0, WSO2 Open Banking AM 1.4.0 up to 2.0.0 and WSO2 Open Banking KM 1.4.0, up to 2.0.0.
- Published
- 4/18/2022
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
Known exploited · CISA KEV
The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.
Added to KEV: Not available
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
api manager wso2 | ≥ 2.2.0, ≤ 4.0.0 | Verify advisory | Source |
enterprise integrator wso2 | ≥ 6.2.0, ≤ 6.6.0 | Verify advisory | Source |
identity server wso2 | ≥ 5.2.0, ≤ 5.11.0 | Verify advisory | Source |
identity server analytics wso2 | 5.4.0 | Verify advisory | Source |
identity server analytics wso2 | 5.4.1 | Verify advisory | Source |
identity server analytics wso2 | 5.5.0 | Verify advisory | Source |
identity server analytics wso2 | 5.6.0 | Verify advisory | Source |
identity server as key manager wso2 | ≥ 5.3.0, ≤ 5.10.0 | Verify advisory | Source |
open banking am wso2 | ≥ 1.3.0, ≤ 2.0.0 | Verify advisory | Source |
open banking iam wso2 | 2.0.0 | Verify advisory | Source |
open banking km wso2 | ≥ 1.3.0, ≤ 1.5.0 | Verify advisory | Source |
n/a n/a | n/a | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.