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.