VDB

CVE-2025-50460

CVE-2025-50460 PUBLISHED CVSS 9.800000190734863 CRITICAL

MS SWIFT Remote Code Execution via unsafe PyYAML deserialization

Reported by mitre · Published August 1, 2025

ms-swift is fixed in 3.6.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ms-swiftPyPI3.6.3

Risk scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
PyPIms-swift0

Timeline

  • Jul 31, 2025 CVE Published
  • Aug 1, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Aug 2, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 11, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-50460
vulnetix vdb fixes CVE-2025-50460

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-50460/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›