CVE-2025-50461 Details
Description
A deserialization vulnerability exists in Volcengine's verl 3.0.0, specifically in the scripts/model_merger.py script when using the "fsdp" backend. The script calls torch.load() with weights_only=False on user-supplied .pt files, allowing attackers to execute arbitrary code if a maliciously crafted model file is loaded. An attacker can exploit this by convincing a victim to download and place a malicious model file in a local directory with a specific filename pattern. This vulnerability may lead to arbitrary code execution with the privileges of the user running the script.
A deserialization vulnerability has been identified in Volcengine's Verl library version 3.0.0, specifically within the model_merger.py script. This issue arises when the 'fsdp' backend is used, as the script improperly handles user-supplied .pt files by calling torch.load() with weights_only set to False. This flaw allows attackers to execute arbitrary code by crafting a malicious model file and convincing a victim to load it. The vulnerability could be exploited by placing the harmful file in a directory that the script accesses, potentially leading to code execution with the user's privileges.
Users are advised to upgrade to Volcengine Verl version 0.5.0 or later, where this vulnerability has been addressed. Additionally, PyTorch should be updated to version 2.6.0 or later, which reduces deserialization risks by default.
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 Aug 19, 2025CISA-ADP
Assessed Aug 19, 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/Anchor0221/CVE-2025-50461 | [email protected] | ExploitTechnical Description |
| https://github.com/pytorch/pytorch/blob/main/SECURITY.md#loading-untrusted-data | [email protected] | Vendor |
| https://github.com/volcengine/verl | [email protected] | ProductSource CodeVendor |
| https://github.com/volcengine/verl/blob/main/scripts/model_merger.py#L152 | [email protected] | Broken LinkSource CodeVendor |
| https://pytorch.org/docs/stable/generated/torch.load.html | [email protected] | Not Applicable |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Volcengine verl | All versions |
CPE
Remediation
| |
| PyTorch | 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 |
| Aug 19, 2025 | CVE Modified | CISA-ADP |
| Aug 19, 2025 | New CVE Received | [email protected] |
Volerion