CVE-2025-3125
Authenticated Arbitrary File Upload in Multiple WSO2 Products via CarbonAppUploader Admin Service Leading to Remote Code Execution
Check your servers for CVE-2025-3125
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-3125 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.91%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 61.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-434 Unrestricted Upload of File with Dangerous Type
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WSO2 Identity Server |
unknown before 5.10.0 affected from 5.10.0, before 5.10.0.360 affected from 5.11.0, before 5.11.0.399 affected from 6.0.0, before 6.0.0.235 affected from 6.1.0, before 6.1.0.230 affected from 7.0.0, before 7.0.0.101 affected from 7.1.0, before 7.1.0.32
Other versions: unaffected
|
| WSO2 Enterprise Integrator |
unknown before 6.6.0 affected from 6.6.0, before 6.6.0.217
Other versions: unaffected
|
| WSO2 Open Banking IAM |
unknown before 2.0.0 affected from 2.0.0, before 2.0.0.402
Other versions: unaffected
|
| WSO2 Identity Server as Key Manager |
unknown before 5.10.0 affected from 5.10.0, before 5.10.0.353
Other versions: unaffected
|
| WSO2 API Manager |
unknown before 3.2.0 affected from 3.2.0, before 3.2.0.421 affected from 3.2.1, before 3.2.1.41 affected from 4.0.0, before 4.0.0.342 affected from 4.1.0, before 4.1.0.203 affected from 4.2.0, before 4.2.0.142 affected from 4.3.0, before 4.3.0.55 affected from 4.4.0, before 4.4.0.19 affected from 4.5.0, before 4.5.0.2 affected from 4.6.0, before 4.6.0.3
Other versions: unaffected
|
| WSO2 API Control Plane |
affected from 4.5.0, before 4.5.0.2 affected from 4.6.0, before 4.6.0.3
Other versions: unaffected
|
| WSO2 Universal Gateway |
affected from 4.5.0, before 4.5.0.2 affected from 4.6.0, before 4.6.0.3
Other versions: unaffected
|
| WSO2 Traffic Manager |
affected from 4.5.0, before 4.5.0.2 affected from 4.6.0, before 4.6.0.3
Other versions: unaffected
|
|
org.wso2.carbon.commons:org.wso2.carbon.application.upload
package
org.wso2.carbon.commons:org.wso2.carbon.application.upload |
affected from 4.7.19, before 4.7.19.7 affected from 4.7.32, before 4.7.32.5 affected from 4.7.35, before 4.7.35.8 affected from 4.7.39, before 4.7.39.1 affected from 4.7.49, before 4.7.49.4 affected from 4.7.52, before 4.7.52.1 affected from 4.10.13, before 4.10.13.1 unaffected from 4.9.12 up to and including 4.9.* unaffected 4.10.24 and later
Other versions: unknown
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-3125 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-3125RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-3125Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-3125
trivy image --scanners vuln IMAGE | grep CVE-2025-3125
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3961/ security.docs.wso2.com · vendor advisory
Source: the record CVE-2025-3125 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse