CVE-2025-50472
BaseFortify
Publication date: 2025-08-01
Last updated on: 2025-08-04
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| modelscope | ms-swift | 2.6.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-502 | The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the modelscope/ms-swift library up to version 2.6.1, where the function load_model_meta() in the ModelFileSystemCache() class uses pickle.load() to deserialize data from potentially untrusted sources. An attacker can craft a malicious serialized .mdl file that, when loaded, executes arbitrary code on the victim's machine. The malicious payload is hidden, making detection difficult, and the normal model training process continues without interruption, so the user remains unaware of the attack.
How can this vulnerability impact me? :
This vulnerability can lead to remote code execution on your machine if you load a malicious .mdl file during model training. An attacker can run arbitrary code or commands, potentially compromising your system, stealing data, installing malware, or causing other harmful effects without your knowledge.