Advisory

GHSA-fhhq-h4hg-549x

Also known as: CVE-2025-51427, PYSEC-2026-2663

Summary

ModelScope is vulnerable to arbitrary code injection via a crafted module

Details

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'].

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-19 15:31 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

modelscope

PyPI · All systems

Affected

  • introduced 0, fixed 1.27.0 (ecosystem)

Fixed versions

1.27.0

Fix

  • Fixed version 1.27.0
    pip install --upgrade modelscope==1.27.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences