Home / CVE-2025-50460
CVE-2025-50460: is it exploited, and which versions of ms-swift are affected and fixed?
CVE-2025-50460 is a deserialization of untrusted data vulnerability in ms-swift. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: ms-swift through 3.6.3 (GitHub advisory GHSA-fm6c-f59h-7mmg). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-50460?
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.
From the CVE record by mitre, last updated August 1, 2025, 17:22 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | ms-swift | <= 3.6.3 | none listed | GHSA-fm6c-f59h-7mmg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 1, 2025. Summary: MS SWIFT Remote Code Execution via unsafe PyYAML deserialization.
How severe is CVE-2025-50460?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-50460 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, August 1, 2025)
- EPSS
- 2.88% probability of exploitation activity in the next 30 days, percentile 87.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://github.com/modelscope/ms-swift
- https://github.com/modelscope/ms-swift/blob/main/tests/run.py#L420
- https://github.com/advisories/GHSA-6757-jp84-gxfx
- https://github.com/Anchor0221/CVE-2025-50460
When was it published, and where is the official record?
- Reserved
- June 16, 2025
- Published
- August 1, 2025, 00:00 UTC
- CVE record updated
- August 1, 2025, 17:22 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 09:35 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on August 1, 2025?
- Aug 1, 2025CVE-2025-54796 9001 copyparty: denial of service (uncontrolled resource consumption)
- Aug 1, 2025CVE-2025-54790 humhub cfiles: SQL injection
- Aug 1, 2025CVE-2025-54782 nestjs nest: command injection
- Aug 1, 2025CVE-2025-54781 himmelblau-idm himmelblau: sensitive information written to log files
- Aug 1, 2025CVE-2025-54386 traefik: path traversal (reading or writing files outside the intended folder)
- Aug 1, 2025CVE-2025-54789 humhub cfiles: cross-site scripting (XSS)
- Aug 1, 2025CVE-2025-54136 cursor: OS command injection
- Aug 1, 2025CVE-2025-54133 cursor: OS command injection
Every CVE published on August 1, 2025
Questions about CVE-2025-50460
Is CVE-2025-50460 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 2.88% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ms-swift are affected by CVE-2025-50460?
ms-swift through 3.6.3, per the GitHub advisory GHSA-fm6c-f59h-7mmg. The tables above give every range the sources list.
Which version fixes CVE-2025-50460?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-50460?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-50460?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.