CVEvulnerability
CVE-2025-50461
6.5 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-08-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-77
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.
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://github.com/Anchor0221/CVE-2025-50461 github.com
- https://github.com/pytorch/pytorch/blob/main/SECURITY.md#loading-untrusted-data github.com
- https://github.com/volcengine/verl github.com
- https://github.com/volcengine/verl/blob/main/scripts/model_merger.py#L152 github.com
- https://pytorch.org/docs/stable/generated/torch.load.html pytorch.org