An issue was discovered in ModelScope 1.25.0 allowing attackers to execute arbitrary code…
Priority HIGH 71CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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'].
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00522 44th percentileScored 2026-11-07
Fix Fixed modelscope (PyPI): 1.27.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | modelscope (PyPI) | before 1.27.0 | 1.27.0 | Patch available | GHSA-fhhq-h4hg-549x |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- modelscope (PyPI) Vendor— Affected before 1.27.0 Fixed in 1.27.0 Patch available GHSA-fhhq-h4hg-549x
Remediation
- Fix · GHSA-fhhq-h4hg-549x modelscope (PyPI) Fixed in 1.27.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2025-51427
- 2026-10-03 Alias added: GHSA-fhhq-h4hg-549x
References
Other 5
- 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://github.com/modelscope/modelscope
Sources
- CVE-2025-51427 · CVE Program
- CVE-2025-51427 · NVD
- FIRST EPSS
- GHSA-fhhq-h4hg-549x · GitHub Advisory Database · CC BY 4.0
- CVE-2025-51427 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences