CVE-2026-84202
Received Received - Intake

ModelScope Remote Code Execution via PyYAML Unsafe Loader

Vulnerability report for CVE-2026-84202, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-01

Last updated on: 2026-09-01

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-01
Last Modified
2026-09-01
Generated
2026-09-01
AI Q&A
2026-09-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
alibaba modelscope to 1.40.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

ModelScope uses PyYAML's unsafe yaml.Loader to parse model configuration files, enabling arbitrary code execution via Python object construction tags. Attackers can create malicious model repositories with poisoned configuration files that execute code when loaded by users.

Detection Guidance

Check for ModelScope installations using PyYAML with unsafe loader configurations. Inspect Python scripts or model config files for yaml.load() calls without SafeLoader. Search for suspicious model repositories with .yaml or .yml files containing Python object construction tags like !!python/object.

Impact Analysis

This vulnerability allows attackers to execute arbitrary code on your system when you load a malicious model configuration file. This could lead to data theft, system compromise, or further network infiltration.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection requirements and HIPAA's safeguards for protected health information. Organizations may face fines or penalties for non-compliance.

Mitigation Strategies

Update ModelScope to a patched version that uses yaml.SafeLoader. Replace yaml.load() with yaml.safe_load() in all Python scripts. Audit model repositories for malicious YAML files and remove any containing object construction tags.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84202. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart