CVE-2025-51427
HIGH 7.3CVSS 3.1ModelScope is vulnerable to arbitrary code injection via a crafted module
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'].
- Published
- 19 May 2026
- Last modified
- 24 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-502CWE-94
- Also known as
- GHSA-fhhq-h4hg-549xPYSEC-2026-2663
- Sources
- NVDJSONOSV GHSA-fhhq-h4hg-549xJSONOSV PYSEC-2026-2663JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | modelscope | < 1.27.0 | 1.27.0 |
References
- https://github.com/JIRUWOZHI/vulnerability-disclosure/blob/main/CVE-2025-51427/CVE_2025_51427.md · WEB
- https://github.com/modelscope/modelscope/issues/1331 · WEB
- https://github.com/modelscope/modelscope/pull/1333 · WEB
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-51427 · ADVISORY
- https://github.com/modelscope/modelscope/commit/75d54927e112261d39598ca08c15b66a7ff3f735 · WEB
- https://github.com/modelscope/modelscope · PACKAGE
- https://pypi.org/project/modelscope · PACKAGE
- https://github.com/advisories/GHSA-fhhq-h4hg-549x · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 19 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 May 2026)