Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-50460 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-502Deserialization of Untrusted DataCISA-ADP

Affected Products

ProductVersions
modelscope/ms-swift
All versions

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.
PyYAML
<= 5.3.1 (semver)

CPE

  • cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*
  • cpe:2.3:a:pyyaml_project:pyyaml:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 5.4moderate effort
  • Mitigation:low effort

    Use yaml.safe_load() instead of yaml.load() for deserializing YAML files.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-50460
NVD Published Date:
Aug 1, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2025-50460 Details - Not Deferred