CVE-2025-3622 Details
Description
A vulnerability, which was classified as critical, has been found in Xorbits Inference up to 1.4.1. This issue affects the function load of the file xinference/thirdparty/cosyvoice/cli/model.py. The manipulation leads to deserialization.
A critical deserialization vulnerability has been identified in Xorbits Inference versions through 1.4.1. The issue arises in the model.py file, specifically within the load function, where the torch.load method is used to deserialize data from untrusted sources without proper validation. This oversight can lead to arbitrary code execution if maliciously crafted files are loaded, posing significant security risks such as unauthorized access and data leakage.
The vulnerability can be mitigated by adding the weights_only=True parameter to all torch.load calls in the load method. This adjustment ensures that only model weights are loaded, without executing any embedded code.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 15, 2025CISA-ADP
Assessed Apr 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xorbitsai/inference/issues/3190 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/xorbitsai/inference/issues/3190 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/xorbitsai/inference/issues/3190#issuecomment-2783462266 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/?ctiid.304679 | [email protected] | AdvisoryExploitTechnical Description |
| https://vuldb.com/?id.304679 | [email protected] | AdvisoryTechnical Description |
| https://vuldb.com/?submit.552245 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Xorbits Inference | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 15, 2025 | CVE Modified | CISA-ADP |
| Apr 15, 2025 | New CVE Received | [email protected] |
Volerion