We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.
Please see our statement on Data Privacy.
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.
Reserved 2025-06-16 | Published 2025-08-01 | Updated 2025-08-01 | Assigner mitregithub.com/modelscope/ms-swift
github.com/modelscope/ms-swift/blob/main/tests/run.py
github.com/advisories/GHSA-6757-jp84-gxfx
github.com/Anchor0221/CVE-2025-50460
Support options