CVE-2025-50460 MS SWIFT Remote Code Execution via unsafe PyYAML deserialization
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi ms-swift(PyPI) | <= 3.6.3; = 1.0.0; = 1.1.0; = 1.2.0 +81 more | after 3.6.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ms-swift(PyPI) | <= 3.6.3 | No fix listed |
| pypi ms-swift(PyPI) | = 1.0.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.1.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.2.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.2.1 | No fix listed |
| pypi ms-swift(PyPI) | = 1.3.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.4.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.5.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.5.1 | No fix listed |
| pypi ms-swift(PyPI) | = 1.5.2 | No fix listed |
| pypi ms-swift(PyPI) | = 1.5.3 | No fix listed |
| pypi ms-swift(PyPI) | = 1.5.4 | No fix listed |
| pypi ms-swift(PyPI) | = 1.6.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.6.1 | No fix listed |
| pypi ms-swift(PyPI) | = 1.6.2 | No fix listed |
| pypi ms-swift(PyPI) | = 1.6.3 | No fix listed |
| pypi ms-swift(PyPI) | = 1.7.0 | No fix listed |
| pypi ms-swift(PyPI) | = 1.7.1 | No fix listed |
| pypi ms-swift(PyPI) | = 1.7.2 | No fix listed |
| pypi ms-swift(PyPI) | = 1.7.3 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.0 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.3 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.3.post1 | No fix listed |
Show 60 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ms-swift(PyPI) | = 2.0.4 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.5 | No fix listed |
| pypi ms-swift(PyPI) | = 2.0.5.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.1.0 | No fix listed |
| pypi ms-swift(PyPI) | = 2.1.1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.1.1.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.1.1.post2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.2.0 | No fix listed |
| pypi ms-swift(PyPI) | = 2.2.1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.2.2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.2.3 | No fix listed |
| pypi ms-swift(PyPI) | = 2.2.4 | No fix listed |
| pypi ms-swift(PyPI) | = 2.2.5 | No fix listed |
| pypi ms-swift(PyPI) | = 2.3.0 | No fix listed |
| pypi ms-swift(PyPI) | = 2.3.0.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.3.1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.3.2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.3.2.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.4.0 | No fix listed |
| pypi ms-swift(PyPI) | = 2.4.0.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.4.1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.4.2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.4.2.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.4.2.post2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.5.0.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.5.1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.5.1.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.5.2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.5.2.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.6.0 | No fix listed |
| pypi ms-swift(PyPI) | = 2.6.0.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 2.6.0.post2 | No fix listed |
| pypi ms-swift(PyPI) | = 2.6.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.0.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.0.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.0.1.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.0.2 | No fix listed |
| pypi ms-swift(PyPI) | = 3.0.2.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.0.3 | No fix listed |
| pypi ms-swift(PyPI) | = 3.1.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.1.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.1.1.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.2.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.2.0.post2 | No fix listed |
| pypi ms-swift(PyPI) | = 3.2.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.2.2 | No fix listed |
| pypi ms-swift(PyPI) | = 3.3.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.3.0.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.3.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.4.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.4.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.4.1.post1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.5.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.5.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.5.2 | No fix listed |
| pypi ms-swift(PyPI) | = 3.5.3 | No fix listed |
| pypi ms-swift(PyPI) | = 3.6.0 | No fix listed |
| pypi ms-swift(PyPI) | = 3.6.1 | No fix listed |
| pypi ms-swift(PyPI) | = 3.6.2 | No fix listed |
| pypi ms-swift(PyPI) | = 3.6.3 | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com exploit
- github.com vendor-advisory
- github.com product
- github.com
- pypi.org product
- github.com vendor-advisory