Home / CVE-2025-51427
CVE-2025-51427: is it exploited, and which versions of modelscope are affected and fixed?
CVE-2025-51427 is a code injection (remote code execution) vulnerability in modelscope. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: modelscope before 1.27.0 (GitHub advisory GHSA-fhhq-h4hg-549x). Fixed in 1.27.0 (GitHub advisory GHSA-fhhq-h4hg-549x). Severity: High (7.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:11 UTC.
What is 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'].
From the CVE record by mitre, last updated July 15, 2026, 01:26 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | modelscope | < 1.27.0 | 1.27.0 | GHSA-fhhq-h4hg-549x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 4, 2026. Summary: ModelScope is vulnerable to arbitrary code injection via a crafted module.
How severe is CVE-2025-51427?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-51427 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 19, 2026)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- 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://access.redhat.com/security/cve/CVE-2025-51427 vdb-entry, x_refsource_REDHAT
- RHBZ#2479894 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-51427.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- June 16, 2025
- Published
- May 19, 2026, 00:00 UTC
- CVE record updated
- July 15, 2026, 01:26 UTC by mitre
- NVD
- Deferred, last modified July 24, 2026, 12:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on May 19, 2026?
- May 19, 2026CVE-2026-39309 TriliumNext Trilium: user Interface (UI) Misrepresentation of Critical Information
- May 19, 2026CVE-2026-35593 TriliumNext Trilium: path traversal (reading or writing files outside the intended folder)
- May 19, 2026CVE-2026-45585 Microsoft Windows 11 Version 24H2: command injection
- May 19, 2026CVE-2026-34970 mantisbt: information disclosure
- May 19, 2026CVE-2026-34754 mantisbt: improper access control
- May 19, 2026CVE-2026-34744 mantisbt: information disclosure
- May 19, 2026CVE-2026-8495 Drupal Date iCal: missing authorization
- May 19, 2026CVE-2026-8493 Drupal Colorbox Inline: cross-site scripting (XSS)
Every CVE published on May 19, 2026
Questions about CVE-2025-51427
Is CVE-2025-51427 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of modelscope are affected by CVE-2025-51427?
modelscope before 1.27.0, per the GitHub advisory GHSA-fhhq-h4hg-549x. The tables above give every range the sources list.
Which version fixes CVE-2025-51427?
1.27.0, per the GitHub advisory GHSA-fhhq-h4hg-549x. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-51427?
High (7.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-51427?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.