CVE-2026-130839 ModelScope 1.11.0 to before 1.40.1 Unsafe Reflection RCE via syncdreamer.yaml
- Exploited in the wild
- Not known
- Fix
- 1.40.1
What is CVE-2026-130839?
CVE-2026-130839 is a high-severity vulnerability in ModelScope, published on 17 Nov 2026.
Official 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.
Weakness: CWE-470
Which versions are affected by CVE-2026-130839?
1 open source package ship an affected version, including modelscope.
| Package | Affected | Fixed in |
|---|---|---|
modelscope PyPIpkg:pypi/modelscope | From 1.11.0 | 1.40.1 |
How do I fix CVE-2026-130839?
Upgrade modelscope to 1.40.1 or later.
Is CVE-2026-130839 being exploited?
There is no known exploitation of CVE-2026-130839 in the wild and no public exploit code.
Sources
Also known as GHSA-gp8m-xpr4-qj9w.