high7.3
CVE-2025-51427
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) u…
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | modelscope | < 1.27.0 | 1.27.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-fhhq-h4hg-549x
- https://nvd.nist.gov/vuln/detail/CVE-2025-51427
- https://github.com/modelscope/modelscope/issues/1331
- https://github.com/modelscope/modelscope/pull/1333
- https://github.com/JIRUWOZHI/vulnerability-disclosure/blob/main/CVE-2025-51427/CVE_2025_51427.md
- https://github.com/modelscope/modelscope/commit/75d54927e112261d39598ca08c15b66a7ff3f735
- https://access.redhat.com/security/cve/CVE-2025-51427
- https://bugzilla.redhat.com/show_bug.cgi?id=2479894
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-51427.json