← Back to browse · API

CVE-2025-50460

Severity
CRITICAL
CVSS
9.8
EPSS
0.02473
Risk score
40.07
CISA KEV
No
PoC
No
Published
2025-08-01
Modified
2025-08-01
First seen
2026-08-07
Aliases
EUVD-2025-23369, GHSA-FM6C-F59H-7MMG, PYSEC-2026-1683
Products
n/a:n/a n/a
Sources
euvd EUVD-2025-23369

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.

References