CVE-2025-50460

Source
https://cve.org/CVERecord?id=CVE-2025-50460
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-50460.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-50460
Aliases
Published
2025-08-01T16:15:41.600Z
Modified
2026-03-14T12:56:09.579613Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 --runconfig 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.safeload() to mitigate the issue.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-50460.json"