CVE-2025-13590: Org.wso2.carbon.apimgt.rest.api.admin.v1 Carbon-apimgt Does Not Properly Restrict Vulnerability
CRITICALCVE-2025-13590 is a CRITICAL (CVSS 9.1) carbon-apimgt does not properly restrict vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Org.wso2.carbon.apimgt.rest.api.admin.v1 libraries in the Maven ecosystem. The issue involves carbon-apimgt does not properly restrict uploaded files. Remediation is available by upgrading affected packages to version 9.32.167.
CVE-2025-13590 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-13590
To remediate this vulnerability, upgrade all affected Org.wso2.carbon.apimgt.rest.api.admin.v1 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.wso2.carbon.apimgt</groupId>
<artifactId>org.wso2.carbon.apimgt.rest.api.admin.v1</artifactId>
<version>9.32.167</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.wso2.carbon.apimgt
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-13590, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.wso2.carbon.apimgt
Analyze the terminal output to locate any version of Org.wso2.carbon.apimgt.rest.api.admin.v1 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.32.167), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.wso2.carbon.apimgt command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Org.wso2.carbon.apimgt.rest.api.admin.v1, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13590 Affected Org.wso2.carbon.apimgt.rest.api.admin.v1 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.admin.v1
|
Maven |
< 9.32.167
|
9.32.167
|
References
Frequently Asked Questions
What is CVE-2025-13590?
Which Org.wso2.carbon.apimgt.rest.api.admin.v1 versions are affected?
What version fixes CVE-2025-13590?
Is org.wso2.carbon.apimgt.rest.api.admin.v1 affected?
What is the CVSS score of CVE-2025-13590?
What CWE is associated with CVE-2025-13590?
How can I check Maven dependencies for CVE-2025-13590?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p6jf-79j3-33f3",
"modified" : "2026-08-14T19:51:53Z",
"published" : "2026-02-19T18:31:54Z",
"aliases" : [ "CVE-2025-13590" ],
"summary" : "carbon-apimgt does not properly restrict uploaded files",
"details" : "A malicious actor with administrative privileges can upload an arbitrary file to a user-controlled location within the deployment via a system REST API. Successful uploads may lead to remote code execution. \n\n By leveraging the vulnerability, a malicious actor may perform Remote Code Execution by uploading a specially crafted payload.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.admin.v1"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.32.167"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13590"
}, {
"type" : "WEB",
"url" : "https://github.com/wso2/carbon-apimgt/pull/13560"
}, {
"type" : "WEB",
"url" : "https://github.com/wso2/carbon-apimgt/commit/49a6427b39a5d9552ce97430858bb4b1912a3044"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wso2/carbon-apimgt"
}, {
"type" : "WEB",
"url" : "https://github.com/wso2/carbon-apimgt/releases/tag/v9.32.167"
}, {
"type" : "WEB",
"url" : "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4849"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-19T22:11:44Z",
"nvd_published_at" : "2026-02-19T10:16:11Z"
}
}