{"id":"CVE-2026-84202","summary":"ModelScope through 1.40.0 Unsafe YAML Deserialization in Model Config Loading","details":"ModelScope uses PyYAML's unsafe yaml.Loader to parse model configuration files, allowing arbitrary code execution through Python object construction tags. Attackers can craft malicious model repositories with poisoned configuration files that execute code when loaded by users.","modified":"2026-09-03T03:48:18.016399433Z","published":"2026-09-01T15:18:57.372Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84202.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-502"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84202.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84202"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/modelscope-through-1.40.0-unsafe-yaml-deserialization-in-model-config-loading"},{"type":"REPORT","url":"https://github.com/modelscope/modelscope/issues/1660"},{"type":"PACKAGE","url":"https://github.com/modelscope/modelscope"},{"type":"PACKAGE","url":"https://pypi.org/project/modelscope/"},{"type":"ARTICLE","url":"https://github.com/modelscope/modelscope/blob/v1.40.0/modelscope/models/audio/tts/voice.py"},{"type":"ARTICLE","url":"https://github.com/modelscope/modelscope/blob/v1.40.0/modelscope/models/multi_modal/mplug/configuration_mplug.py"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/modelscope/modelscope","events":[{"introduced":"0"},{"last_affected":"e7b24ee97f22580cc6bd084134e868f962d16870"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"1.40.0"}]}}],"versions":["v1.40.0","v1.7.2","v0.4.0","v0.3.1","v0.3.0","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84202.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}