CVE-2026-141339
Severity CVSS v4.0:
HIGH
Type:
CWE-502
Deserialization of Untrusted Dat
Publication date:
01/12/2026
Last modified:
01/12/2026
Description
Teriks dgenerate 6.0.0 development builds before commit b64fe08 contain an unsafe deserialization vulnerability in load_hunyuan_dit_clip_image_encoder that allows code execution through fallback pickle loading. Attackers can supply a malicious clip_img_encoder.pt in an adapter repository or folder, forcing torch.load with weights_only=False to run code with user privileges.
Impact
Base Score 4.0
8.50
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://github.com/Teriks/dgenerate/blob/fb6c9f5b9e5ecc6a51464bc9bea91845ecb49622/dgenerate/extras/hydit/image_encoder.py#L310-L314
- https://github.com/Teriks/dgenerate/commit/b64fe085a03e5d326513f9f0001e2a461f5b2cfd
- https://github.com/Teriks/dgenerate/issues/95
- https://www.vulncheck.com/advisories/teriks-dgenerate-6.0.0-development-builds-before-commit-b64fe08-unsafe-deserialization-via-hunyuan-dit-ip-adapter
- https://github.com/Teriks/dgenerate/issues/95


