{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-50460","published":"2025-08-01T16:15:41.600000Z","last_modified":"2026-06-17T09:35:04.847000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-502"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-fm6c-f59h-7mmg","ecosystem":"PyPI","name":"ms-swift","purl":"pkg:pypi/ms-swift","ranges":[{"introduced":"0","last_affected":"3.6.3"}],"versions":["1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","1.7.1","1.7.2","1.7.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.3.post1","2.0.4","2.0.5","2.0.5.post1","2.1.0","2.1.1","2.1.1.post1","2.1.1.post2","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.0.post1","2.3.1","2.3.2","2.3.2.post1","2.4.0","2.4.0.post1","2.4.1","2.4.2","2.4.2.post1","2.4.2.post2","2.5.0.post1","2.5.1","2.5.1.post1","2.5.2","2.5.2.post1","2.6.0","2.6.0.post1","2.6.0.post2","2.6.1","3.0.0","3.0.1","3.0.1.post1","3.0.2","3.0.2.post1","3.0.3","3.1.0","3.1.1","3.1.1.post1","3.2.0","3.2.0.post2","3.2.1","3.2.2","3.3.0","3.3.0.post1","3.3.1","3.4.0","3.4.1","3.4.1.post1","3.5.0","3.5.1","3.5.2","3.5.3","3.6.0","3.6.1","3.6.2","3.6.3"],"versions_truncated":false},{"advisory":"PYSEC-2026-1683","ecosystem":"PyPI","name":"ms-swift","purl":"pkg:pypi/ms-swift","ranges":[{"introduced":"0","last_affected":"3.6.3"}],"versions":["1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","1.7.1","1.7.2","1.7.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.3.post1","2.0.4","2.0.5","2.0.5.post1","2.1.0","2.1.1","2.1.1.post1","2.1.1.post2","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.0.post1","2.3.1","2.3.2","2.3.2.post1","2.4.0","2.4.0.post1","2.4.1","2.4.2","2.4.2.post1","2.4.2.post2","2.5.0.post1","2.5.1","2.5.1.post1","2.5.2","2.5.2.post1","2.6.0","2.6.0.post1","2.6.0.post2","2.6.1","3.0.0","3.0.1","3.0.1.post1","3.0.2","3.0.2.post1","3.0.3","3.1.0","3.1.1","3.1.1.post1","3.2.0","3.2.0.post2","3.2.1","3.2.2","3.3.0","3.3.0.post1","3.3.1","3.4.0","3.4.1","3.4.1.post1","3.5.0","3.5.1","3.5.2","3.5.3","3.6.0","3.6.1","3.6.2","3.6.3"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2025-50460/","html_en":"/en/cve/CVE-2025-50460/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-50460","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-50460"},"untrusted":{"desc_en":"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.","affected":[],"references":[{"url":"https://github.com/Anchor0221/CVE-2025-50460","tags":[]},{"url":"https://github.com/advisories/GHSA-6757-jp84-gxfx","tags":[]},{"url":"https://github.com/modelscope/ms-swift","tags":[]},{"url":"https://github.com/modelscope/ms-swift/blob/main/tests/run.py#L420","tags":[]}]}}