CVE-2025-50460

CRITICAL EPSS 81.4%
Published Aug 1, 202511mo ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Aug 1, 2025 11mo ago
Last Modified Jun 17, 2026 1w ago

Description

A remote code execution (RCE) vulnerability exists in the ms-swift project version 3.3.0 due to unsafe deserialization in tests/run.py using yaml.load() from the PyYAML library (versions = 5.3.1). If an attacker can control the content of the YAML configuration file passed to the --run_config parameter, arbitrary code can be executed during deserialization. This can lead to full system compromise. The vulnerability is triggered when a malicious YAML file is loaded, allowing the execution of arbitrary Python commands such as os.system(). It is recommended to upgrade PyYAML to version 5.4 or higher, and to use yaml.safe_load() to mitigate the issue.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
81.4% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-502 Deserialization of Untrusted Data Validation

References 4

  • github.com https://github.com/Anchor0221/CVE-2025-50460
  • github.com https://github.com/advisories/GHSA-6757-jp84-gxfx
  • github.com https://github.com/modelscope/ms-swift
  • github.com https://github.com/modelscope/ms-swift/blob/main/tests/run.py#L420

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.