CVE-2025-51427

ModelScope: ModelScope: Arbitrary code execution via crafted configuration module

Published May 19, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
An issue was discovered in ModelScope 1.25.0 allowing attackers to execute arbitrary code via crafted module listed in the configuration file (dey_mini.yaml) under the key ['nnet']['module'].

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fhhq-h4hg-549x ModelScope is vulnerable to arbitrary code injection via a crafted module
History
Type Values Removed Values Added
Title Arbitrary Code Execution via Malicious Module Configuration in ModelScope 1.25.0 ModelScope: ModelScope: Arbitrary code execution via crafted configuration module
Weaknesses CWE-502
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Modelscope
Modelscope modelscope
Vendors & Products Modelscope
Modelscope modelscope
Type Values Removed Values Added
Title Arbitrary Code Execution via Malicious Module Configuration in ModelScope 1.25.0
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An issue was discovered in ModelScope 1.25.0 allowing attackers to execute arbitrary code via crafted module listed in the configuration file (dey_mini.yaml) under the key ['nnet']['module'].
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 15, 2026, 1:26 AM
Reserved
Jun 16, 2025, 12:00 AM
Status
Deferred
Published
May 19, 2026, 3:16 PM
Modified
Jul 24, 2026, 12:10 PM
Severity
Important
Public date
May 19, 2026, 12:00 AM