CVE-2025-50460
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/advisories/GHSA-6757-jp84-gxfx
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending · 1 informational
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ferralon-demo/ms-swift-yaml-load-rce | 7 Oct 2026 +1.2 y | 0 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Anchor0221/CVE-2025-50460 | 30 Jul 2025 −1.7 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.