Vulnerability · Published May 19, 2026 · Assigned by mitre

CVE-2025-51427

High 7.3

In plain English

A high-severity code injection in the modelscope package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.5%top 55.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
PyPImodelscope1.27.0GHSA-fhhq-h4hg-549x
PyPImodelscope1.27.0PYSEC-2026-2663

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94, CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References