Skip to main content

ModelScope CVE-2026-130839

| EUVDEUVD-2026-127263 HIGH
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470)
2026-11-17 VulnCheck GHSA-gp8m-xpr4-qj9w
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious model to ModelScope hub
  2. Delivery
    Victim loads SyncDreamer image-to-3D pipeline
  3. Exploit
    Parse attacker-controlled syncdreamer.yaml target
  4. Execution
    instantiate_from_config reflectively imports arbitrary class
  5. Impact
    Execute code on victim host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
Exploitation Conditions

Exploitation requires the victim to use the image-to-3D SyncDreamer pipeline in ModelScope (versions 1.11.0 to before 1.40.1) and to load an attacker-published model; the model's syncdreamer.yaml 'target' field is attacker-controlled and is passed to instantiate_from_config(), which imports and instantiates any named class with controlled params because there is no allowlist and no trust_remote_code check. LIMITING FACTORS: per CVSS the attack is local with required user interaction (AV:L/UI:P) - code does not fire until the victim actively loads the crafted model, and only the SyncDreamer/image-to-3D code path is affected, so environments that never load untrusted third-party models via this pipeline are not exposed. The only complete fix stated by the evidence is updating to v1.40.1 or later.

Impact

This is a genuine high-priority issue but not a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) and the 8.5 score describe an unauthenticated, low-complexity unsafe-reflection flaw (CWE-470) whose only real barrier is required victim interaction (UI:P) - the victim must load an attacker-published model. Impact is maximal: VC:H/VI:H/VA:H means full code execution on the victim host. No EPSS score and no KEV listing are provided, so there is no evidence of active exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious-but-not-actively-exploited supply-chain RCE. The AV:L choice is worth noting: the malicious payload is actually delivered over the network via a published model on the ModelScope hub, but the code executes locally when the victim loads the file, which is why a local vector plus required user interaction is the appropriate framing rather than fully remote drive-by exploitation. Net: treat as a priority patch for anyone running the SyncDreamer image-to-3D pipeline, but the required-interaction, trust-boundary nature (you must load an untrusted third-party model) tempers the real-world blast radius versus a true remote-unauthenticated server flaw.

Exploit ScenarioDerived

An attacker publishes a seemingly legitimate image-to-3D model to the ModelScope hub whose bundled syncdreamer.yaml sets the target field to an arbitrary class with attacker-controlled params. When a victim downloads and loads this model through the SyncDreamer pipeline, instantiate_from_config() reflectively imports and instantiates that class - with no allowlist or trust_remote_code gate - executing attacker code on the victim's machine. No public working exploit code is identified at time of analysis, though a VulnCheck advisory documents the flaw.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Unsafe reflection in ModelScope 1.11.0 to before 1.40.1 allows code execution when a victim loads a crafted image-to-3D SyncDreamer model, because the syncdreamer.yaml target field is passed to instantiate_from_config() without an allowlist or trust_remote_code check. Exploitation requires the victim to use the SyncDreamer/image-to-3D pipeline and actively load an attacker-published model; per the assessed CVSS this is local with user interaction, and only that code path is exposed. The vendor fix is v1.40.1, and no public exploit was identified at time of analysis.

RemediationAI

Upgrade ModelScope to v1.40.1 or later, the vendor-stated fixed release for the 1.11.0-to-before-1.40.1 range. The references list patch PR #1788 (https://github.com/modelscope/modelscope/pull/1788) and commit 563133cfbc7af7891498d9928a1b018fa42ce30b, but the supplied diff excerpt shows CLI shim changes rather than the SyncDreamer instantiation change, so the exact code fix is not independently confirmed from that excerpt. Until upgrading, do not load untrusted or third-party models through the image-to-3D SyncDreamer pipeline and restrict that pipeline to trusted model sources; this compensating control leaves the unsafe instantiation path present. No allowlist, trust_remote_code toggle, or other configuration-based fix is described in the available evidence.

Affected VersionsENISA

modelscope 1.11.0 <1.40.1

Affected Packages

euvd modelscope fix: 1.40.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ModelScope is Alibaba's model hub and Python SDK; the affected path is the image-to-3D pipeline that uses SyncDreamer. The pipeline consumes a model configuration file, syncdreamer.yaml, and calls instantiate_from_config(), which resolves a target dotted path and dynamically imports and instantiates that class with parameters taken from the configuration. CWE-470 describes the root cause: externally controlled input selects the class/code to execute, and the evidence states there is no allowlist and no trust_remote_code check. The referenced source locations are modelscope/models/cv/image_to_3d/ldm/util.py and modelscope/pipelines/cv/image_to_3d_pipeline.py. Both supplied CVSS vectors indicate a local attack vector with user interaction; the trigger is the victim loading the crafted model, and the evidence does not describe exploitation of other pipelines or a network-facing service.

Know when Modelscope gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Payload is delivered via a published model but executes only when the victim loads the file locally (AV:L/UI:R); no victim-side privilege is needed (PR:N) and reflection yields full code execution (C/I/A:H).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

ModelScope 1.11.0 to before 1.40.1 contains an unsafe reflection vulnerability in the image-to-3D SyncDreamer pipeline that allows remote attackers to execute code via crafted model configuration. Attackers can publish a model whose syncdreamer.yaml target field makes instantiate_from_config() import and instantiate any class with controlled params, without an allowlist or trust_remote_code check, executing code when victims load it.

Executive ViewAI

Why It Matters

CVE-2026-130839 is a high-severity code execution vulnerability in ModelScope versions 1.11.0 through 1.40.0, affecting users who load SyncDreamer image-to-3D models. An attacker who publishes a malicious model can achieve code execution on a victim's machine when the victim actively loads it, potentially compromising sensitive data and systems. Leadership should prioritize patching because ModelScope is widely used in AI development, and this flaw enables arbitrary code execution through a trusted model-sharing workflow.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 51% exploitable
Prevalence
Medium
popular ML model-hub SDK (Alibaba ModelScope), common but not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2024-48050 CRITICAL POC
9.8 Nov 04

In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression. R

CVE-2024-8537 CRITICAL POC
9.1 Mar 20

A path traversal vulnerability exists in the modelscope/agentscope application, affecting all versions. Rated critical s

CVE-2024-8551 CRITICAL POC
9.1 Mar 20

A path traversal vulnerability exists in the save-workflow and load-workflow functionality of modelscope/agentscope vers

CVE-2024-8501 HIGH POC
8.8 Mar 20

An arbitrary file download vulnerability exists in the rpc_agent_client component of modelscope/agentscope version v0.0.

CVE-2024-8524 HIGH POC
7.5 Mar 20

A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. Rated high severity (CVSS 7.5), this

CVE-2024-8438 HIGH POC
7.5 Mar 20

A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. Rated high severity (CVSS 7.5), this vul

CVE-2026-6603 MEDIUM POC
5.5 Apr 20

Remote code execution in ModelScope AgentScope up to version 1.0.18 allows unauthenticated network attackers to inject a

CVE-2026-6606 MEDIUM POC
5.5 Apr 20

Modelscope AgentScope versions up to 1.0.18 contain a server-side request forgery (SSRF) vulnerability in the _process_a

CVE-2026-6605 MEDIUM POC
5.5 Apr 20

Server-side request forgery in ModelScope AgentScope up to version 1.0.18 allows remote unauthenticated attackers to man

CVE-2026-6604 MEDIUM POC
5.5 Apr 20

Server-side request forgery (SSRF) in ModelScope AgentScope up to version 1.0.18 allows remote unauthenticated attackers

CVE-2026-84202 HIGH
8.7 Sep 01

Unsafe PyYAML deserialization in ModelScope through v1.40.0 enables remote code execution when users load model configur

CVE-2026-85686 HIGH
8.7 Sep 04

Server-side request forgery in ms-swift 4.5.2 allows unauthenticated remote attackers to weaponize the server's multimod

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy