CVE-2026-84202

ModelScope through 1.40.0 Unsafe YAML Deserialization in Model Config Loading

State
Published
Severity
8.7 High
Published
Sep 1, 2026
Updated
Sep 1, 2026
Reserved
Sep 1, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
modelscopemodelscope
  • 1.40.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.