CVE-2025-51427
JSON

7.3high

ModelScope is vulnerable to arbitrary code injection via a crafted module

Severity
7.3high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fhhq-h4hg-549xPYSEC-2026-2663

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'].

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
rhoai/odh-kserve-agent-rhel9Not specifiedCVE List
rhoai/odh-kserve-controller-rhel9Not specifiedCVE List
rhoai/odh-kserve-router-rhel9Not specifiedCVE List
rhoai/odh-kserve-storage-initializer-rhel9Not specifiedCVE List
modelscope (PyPI)before 1.27.0GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
redhat-SADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
PyPA Advisory Database7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-94CWE-502

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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'].

NVD (es)

Se descubrió un problema en ModelScope 1.25.0 que permite a los atacantes ejecutar código arbitrario a través de un módulo especialmente diseñado listado en el archivo de configuración (dey_mini.yaml) bajo la clave ['nnet']['module'].

References

Sources

SourceRecordLicence
CVE ListCVE-2025-51427 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-fhhq-h4hg-549x changed 2026-07-13CC-BY-4.0
NVDCVE-2025-51427 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-2663 changed 2026-07-13CC-BY-4.0