Vulnerability
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) under the key ['nnet']['module'].
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-fhhq-h4hg-549x
ModelScope is vulnerable to arbitrary code injection via a crafted module
-
PYSEC-2026-2663
ModelScope is vulnerable to arbitrary code injection via a crafted module
References
- https://github.com/JIRUWOZHI/vulnerability-disclosure/blob/main/CVE-2025-51427/CVE_2025_51427.md
- https://github.com/modelscope/modelscope/issues/1331
- https://github.com/modelscope/modelscope/pull/1333
- 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