CVE-2026-141339 · Teriks / dgenerate
CVE-2026-141339
Full advisory details, affected packages, severity context, and original source.
Affected technology
Affected versions and fixes
Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.
Teriks / dgenerate · git
CVE vendor record- affected: From 0bf9643eb74c591a0539e9ebdfe4bf60cb244c2a (inclusive) · before b64fe085a03e5d326513f9f0001e2a461f5b2cfd (exclusive) · git
Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.
Repository: https://github.com/Teriks/dgenerate
Other versions: unaffected according to the vendor record.
Advisory overview
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.
How Cevnitra tracks this
Cevnitra stores this NVD record in the public advisory mirror so scans and watchlists can match CVE-2026-141339 against your inventory.
Related references
- 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
