Deserialization in N/a
CVE-2025-50460
- CVSS v3
- 9.8 Critical
- Public exploits
- 2 repositories
- EPSS
- 0.029 · 87.2th percentile
- Published
- 2025-08-01
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.029, 87.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- ferralon-demo/ms-swift-yaml-load-rce (last pushed 2026-11-22): Case study: ms-swift CVE-2025-50460 (unsafe yaml.load in tests/run.py). Demo only, not for use.
- Anchor0221/CVE-2025-50460 (last pushed 2025-08-15): Technical Details and Exploit for CVE-2025-50460
Also mentioned in 6 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.