CVE-2025-50460
Last modified
CVE-2025-50460 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-50460?
How severe is CVE-2025-50460?
How do I fix CVE-2025-50460?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-5043A maliciously crafted 3DM file, when linked or imported into…7.8
- CVE-2025-50433An issue was discovered in imonnit.com (2025-04-24) allowing…9.8
- CVE-2025-50434A security issue has been identified in Appian Enterprise Bu…5.3
- CVE-2025-50454An Authentication Bypass vulnerability in Blue Access' Cobal…6.5
- CVE-2025-50455SQL injection vulnerability exists in the order_by parameter…9.1
- CVE-2025-5046A maliciously crafted DGN file, when linked or imported into…7.8
- CVE-2025-50461A deserialization vulnerability exists in Volcengine's verl …6.5
- CVE-2025-50464A buffer overflow vulnerability exists in the upload.cgi mod…6.5
- CVE-2025-50465OpenMetadata <=1.4.4 is vulnerable to SQL Injection. An atta…8.8
- CVE-2025-50466OpenMetadata <=1.4.4 is vulnerable to SQL Injection. An atta…6.5
- CVE-2025-50467OpenMetadata <=1.4.4 is vulnerable to SQL Injection. An atta…6.5
- CVE-2025-50468OpenMetadata <=1.4.4 is vulnerable to SQL Injection. An atta…6.5
Are you affected by CVE-2025-50460?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
