{"data":{"id":"765cbe21-f979-499c-9bcc-664bb4ce1493","title":"CVE-2025-50472: The modelscope/ms-swift library thru 2.6.1 is vulnerable to arbitrary code execution through deserialization of…","summary":"The modelscope/ms-swift library through 2.6.1 is vulnerable to arbitrary code execution. The `load_model_meta()` function of the `ModelFileSystemCache()` class calls `pickle.load()` on untrusted data, so a crafted serialized `.mdl` payload runs code when a victim loads what appears to be a normal checkpoint during training. The payload file is hidden and the training run continues normally, so the victim gets no visible sign of the execution.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-50472","publishedAt":"2025-08-01T16:15:41.750Z","cveId":"CVE-2025-50472","cweIds":["CWE-502"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["ModelScope","ms-swift"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"modelscope/ms-swift arbitrary code execution via deserialization","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.0146,"epssCheckedAt":"2026-11-04T12:08:33.434Z","kevDateAdded":null,"advisoryAliases":["GHSA-qgm9-fp3r-vm5v"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-11-04T18:09:30.906Z","patchAvailable":null,"disclosureDate":null,"fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-586"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0010"],"fixes":[]}}