# CVE-2025-3125: Authenticated Arbitrary File Upload in Multiple WSO2 Products via CarbonAppUploader Admin Service Leading to Remote Code Execution

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.7
- **CVSS:** 6.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.01% (percentile 62, 2026-11-26)
- **CWE:** CWE-434
- **Published:** 2025-11-05T14:49:44.597Z
- **Modified:** 2026-06-17T09:19:13.987Z

## Who should check

- Anyone running WSO2 Identity Server \>= 5.10.0, \< 5.10.0.360; \>= 5.11.0, \< 5.11.0.399; \>= 6.0.0, \< 6.0.0.235; \>= 6.1.0, \< 6.1.0.230; \>= 7.0.0, \< 7.0.0.101; \>= 7.1.0, \< 7.1.0.32
- Anyone running WSO2 Enterprise Integrator \>= 6.6.0, \< 6.6.0.217
- Anyone running WSO2 Open Banking IAM \>= 2.0.0, \< 2.0.0.402
- Anyone running WSO2 Identity Server as Key Manager \>= 5.10.0, \< 5.10.0.353
- Anyone running WSO2 API Manager \>= 3.2.0, \< 3.2.0.421; \>= 3.2.1, \< 3.2.1.41; \>= 4.0.0, \< 4.0.0.342; \>= 4.1.0, \< 4.1.0.203; \>= 4.2.0, \< 4.2.0.142; \>= 4.3.0, \< 4.3.0.55; \>= 4.4.0, \< 4.4.0.19; \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3
- Anyone running WSO2 API Control Plane \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3
- Anyone running WSO2 Universal Gateway \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3
- Anyone running WSO2 Traffic Manager \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3

## Description

An arbitrary file upload vulnerability exists in multiple WSO2 products due to improper input validation in the CarbonAppUploader admin service endpoint. An authenticated attacker with appropriate privileges can upload a malicious file to a user-controlled location on the server, potentially leading to remote code execution (RCE).

This functionality is restricted by default to admin users; therefore, successful exploitation requires valid credentials with administrative permissions.

## Affected and fixed versions

- WSO2 Identity Server: \>= 5.10.0, \< 5.10.0.360; \>= 5.11.0, \< 5.11.0.399; \>= 6.0.0, \< 6.0.0.235; \>= 6.1.0, \< 6.1.0.230; \>= 7.0.0, \< 7.0.0.101; \>= 7.1.0, \< 7.1.0.32 (cvelist)
- WSO2 Enterprise Integrator: \>= 6.6.0, \< 6.6.0.217 (cvelist)
- WSO2 Open Banking IAM: \>= 2.0.0, \< 2.0.0.402 (cvelist)
- WSO2 Identity Server as Key Manager: \>= 5.10.0, \< 5.10.0.353 (cvelist)
- WSO2 API Manager: \>= 3.2.0, \< 3.2.0.421; \>= 3.2.1, \< 3.2.1.41; \>= 4.0.0, \< 4.0.0.342; \>= 4.1.0, \< 4.1.0.203; \>= 4.2.0, \< 4.2.0.142; \>= 4.3.0, \< 4.3.0.55; \>= 4.4.0, \< 4.4.0.19; \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3 (cvelist)
- WSO2 API Control Plane: \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3 (cvelist)
- WSO2 Universal Gateway: \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3 (cvelist)
- WSO2 Traffic Manager: \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3 (cvelist)
- org.wso2.carbon.commons:org.wso2.carbon.application.upload: \>= 4.7.19, \< 4.7.19.7; \>= 4.7.32, \< 4.7.32.5; \>= 4.7.35, \< 4.7.35.8; \>= 4.7.39, \< 4.7.39.1; \>= 4.7.49, \< 4.7.49.4; \>= 4.7.52, \< 4.7.52.1; \>= 4.10.13, \< 4.10.13.1 (cvelist)

## Mitigation

- Upgrade WSO2 Identity Server to 7.1.0.32 or later.
- Upgrade WSO2 Enterprise Integrator to 6.6.0.217 or later.
- Upgrade WSO2 Open Banking IAM to 2.0.0.402 or later.
- Upgrade WSO2 Identity Server as Key Manager to 5.10.0.353 or later.
- Upgrade WSO2 API Manager to 4.6.0.3 or later.
- Upgrade WSO2 API Control Plane to 4.6.0.3 or later.
- Upgrade WSO2 Universal Gateway to 4.6.0.3 or later.
- Upgrade WSO2 Traffic Manager to 4.6.0.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-3125. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-3125.md
Affected: WSO2 Identity Server >= 5.10.0, < 5.10.0.360; >= 5.11.0, < 5.11.0.399; >= 6.0.0, < 6.0.0.235; >= 6.1.0, < 6.1.0.230; >= 7.0.0, < 7.0.0.101; >= 7.1.0, < 7.1.0.32; WSO2 Enterprise Integrator >= 6.6.0, < 6.6.0.217; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.402; WSO2 Identity Server as Key Manager >= 5.1…
Fixed in: WSO2 Identity Server 5.10.0.360, WSO2 Identity Server 5.11.0.399, WSO2 Identity Server 6.0.0.235, WSO2 Identity Server 6.1.0.230, WSO2 Identity Server 7.0.0.101, WSO2 Identity Server 7.1.0.32, WSO2 Enterprise Integrator 6.6.0.217, WSO2 Open Banking IAM 2.0.0.402, WSO2 Identity Server as Key Manager…

Steps:
1. Search this machine and project for WSO2 Identity Server, WSO2 Enterprise Integrator, WSO2 Open Banking IAM, WSO2 Identity Server as Key Manager, WSO2 API Manager, WSO2 API Control Plane: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-3125 being exploited?

There is no confirmed exploitation: CVE-2025-3125 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-3125?

Medium: CVSS 6.7 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-3125?

WSO2 Identity Server \>= 5.10.0, \< 5.10.0.360; \>= 5.11.0, \< 5.11.0.399; \>= 6.0.0, \< 6.0.0.235; \>= 6.1.0, \< 6.1.0.230; \>= 7.0.0, \< 7.0.0.101; \>= 7.1.0, \< 7.1.0.32; WSO2 Enterprise Integrator \>= 6.6.0, \< 6.6.0.217; WSO2 Open Banking IAM \>= 2.0.0, \< 2.0.0.402; WSO2 Identity Server as Key Manager \>= 5.10.0, \< 5.10.0.353; WSO2 API Manager \>= 3.2.0, \< 3.2.0.421; \>= 3.2.1, \< 3.2.1.41; \>= 4.0.0, \< 4.0.0.342; \>= 4.1.0, \< 4.1.0.203; \>= 4.2.0, \< 4.2.0.142; \>= 4.3.0, \< 4.3.0.55; \>= 4.4.0, \< 4.4.0.19; \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3; WSO2 API Control Plane \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3; WSO2 Universal Gateway \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3; WSO2 Traffic Manager \>= 4.5.0, \< 4.5.0.2; \>= 4.6.0, \< 4.6.0.3; org.wso2.carbon.commons:org.wso2.carbon.application.upload \>= 4.7.19, \< 4.7.19.7; \>= 4.7.32, \< 4.7.32.5; \>= 4.7.35, \< 4.7.35.8; \>= 4.7.39, \< 4.7.39.1; \>= 4.7.49, \< 4.7.49.4; \>= 4.7.52, \< 4.7.52.1; \>= 4.10.13, \< 4.10.13.1.

### Is there a fix for CVE-2025-3125?

Yes. Fixed in WSO2 Identity Server 5.10.0.360, WSO2 Identity Server 5.11.0.399, WSO2 Identity Server 6.0.0.235, WSO2 Identity Server 6.1.0.230, WSO2 Identity Server 7.0.0.101, WSO2 Identity Server 7.1.0.32, WSO2 Enterprise Integrator 6.6.0.217, WSO2 Open Banking IAM 2.0.0.402, WSO2 Identity Server as Key Manager 5.10.0.353, WSO2 API Manager 3.2.0.421, WSO2 API Manager 3.2.1.41, WSO2 API Manager 4.0.0.342, WSO2 API Manager 4.1.0.203, WSO2 API Manager 4.2.0.142, WSO2 API Manager 4.3.0.55, WSO2 API Manager 4.4.0.19, WSO2 API Manager 4.5.0.2, WSO2 API Manager 4.6.0.3, WSO2 API Control Plane 4.5.0.2, WSO2 API Control Plane 4.6.0.3, WSO2 Universal Gateway 4.5.0.2, WSO2 Universal Gateway 4.6.0.3, WSO2 Traffic Manager 4.5.0.2, WSO2 Traffic Manager 4.6.0.3, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.7.19.7, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.7.32.5, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.7.35.8, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.7.39.1, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.7.49.4, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.7.52.1, org.wso2.carbon.commons:org.wso2.carbon.application.upload 4.10.13.1. Upgrade WSO2 Identity Server to 7.1.0.32 or later. Upgrade WSO2 Enterprise Integrator to 6.6.0.217 or later. Upgrade WSO2 Open Banking IAM to 2.0.0.402 or later. Upgrade WSO2 Identity Server as Key Manager to 5.10.0.353 or later. Upgrade WSO2 API Manager to 4.6.0.3 or later. Upgrade WSO2 API Control Plane to 4.6.0.3 or later. Upgrade WSO2 Universal Gateway to 4.6.0.3 or later. Upgrade WSO2 Traffic Manager to 4.6.0.3 or later.

### How do I check if I'm affected by CVE-2025-3125?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3961/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-3125>

HTML: <https://flawdb.com/CVE-2025-3125> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-3125>
