CVE-2025-51427
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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rhoai/odh-kserve-agent-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-controller-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-router-rhel9 | Not specified | CVE List |
| rhoai/odh-kserve-storage-initializer-rhel9 | Not specified | CVE List |
| modelscope (PyPI) | before 1.27.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| redhat-SADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-51427 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fhhq-h4hg-549x changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2025-51427 changed 2026-07-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2663 changed 2026-07-13 | CC-BY-4.0 |