Arbitrary Code Execution Affecting modelscope package, versions [,1.27.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MODELSCOPE-17223769
  • published7 Jun 2026
  • disclosed20 May 2026
  • creditUnknown

Introduced: 20 May 2026

NewCVE-2025-51427  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade modelscope to version 1.27.0 or higher.

Overview

modelscope is a ModelScope: bring the notion of Model-as-a-Service to life.

Affected versions of this package are vulnerable to Arbitrary Code Execution from the pipeline interface. There, a user can supply a malicious model that loads arbitrary modules via an acoustic-echo-cancellation task.

CVSS Base Scores

version 4.0
version 3.1