CVE-2026-130839

ModelScope 1.11.0 to before 1.40.1 Unsafe Reflection RCE via syncdreamer.yaml

Published Nov 17, 2026 CVSS 4.0 · 8.5 High EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an unsafe reflection flaw in the image‑to‑3D SyncDreamer pipeline of ModelScope. The pipeline loads user‑supplied syncdreamer.yaml configuration files and passes the target field to instantiate_from_config(), which imports and instantiates arbitrary classes without any allow‑list or trust_remote_code validation. An attacker can therefore craft a model configuration that points to any Python class and supply controlled parameters, allowing the victim to execute arbitrary code during model loading. This flaw directly enables remote code execution with the privileges of the application process.

Affected Systems

ModelScope 1.11.0 up through 1.39.9 (prior to 1.40.1) when using the image‑to‑3D SyncDreamer pipeline is affected. Users running these versions and loading models from external or untrusted sources are at risk. The vulnerability does not affect later releases such as 1.40.1 and above, which incorporate the fix.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity. The EPSS score is not available, so the precise likelihood of exploitation remains uncertain, and the vulnerability is not currently listed in the CISA KEV catalog. The likely attack vector is via the model distribution channel: an attacker publishes a malicious model with a crafted syncdreamer.yaml that targets a dangerous class. A victim who loads the model for inference will trigger the uncontrolled class loading and execute the attacker’s code. Because no explicit authentication or input validation is performed on the target field, the flaw can be exploited without privileged access, making it a significant threat to any deployment that accepts externally sourced models.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ModelScope to version 1.40.1 or later to remove the unsafe reflection path
  • Configure the pipeline to use the trust_remote_code flag or implement an allowlist that limits instantiate_from_config() to known safe classes
  • Validate or sanitize the syncdreamer.yaml target field, restricting uploads to trusted model providers and rejecting unverified metadata

Generated by OpenCVE AI on November 17, 2026 at 21:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Modelscope
Modelscope modelscope
Vendors & Products Modelscope
Modelscope modelscope
Type Values Removed Values Added
Description 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.
Title ModelScope 1.11.0 to before 1.40.1 Unsafe Reflection RCE via syncdreamer.yaml
Weaknesses CWE-470
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 10:23 PM
Reserved
Nov 17, 2026, 5:51 PM
Status
Received
Published
Nov 17, 2026, 8:17 PM
Modified
Nov 17, 2026, 11:17 PM