# CVE-2026-141339: Teriks dgenerate 6.0.0 Development Builds before Commit b64fe08 Unsafe Deserialization via Hunyuan-DiT IP-Adapter

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T15:43:11.495Z
- Modified: 2026-12-01T23:17:42.420Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Teriks dgenerate: from 0bf9643eb74c591a0539e9ebdfe4bf60cb244c2a before b64fe085a03e5d326513f9f0001e2a461f5b2cfd

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Teriks/dgenerate/issues/95> (exploit, issue-tracking)
- <https://github.com/Teriks/dgenerate/commit/b64fe085a03e5d326513f9f0001e2a461f5b2cfd> (patch)
- <https://github.com/Teriks/dgenerate/blob/fb6c9f5b9e5ecc6a51464bc9bea91845ecb49622/dgenerate/extras/hydit/image_encoder.py#L310-L314> (technical-description)
- <https://www.vulncheck.com/advisories/teriks-dgenerate-6.0.0-development-builds-before-commit-b64fe08-unsafe-deserialization-via-hunyuan-dit-ip-adapter> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-141339](https://www.cve.org/CVERecord?id=CVE-2026-141339), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-141339](https://nvd.nist.gov/vuln/detail/CVE-2026-141339), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-141339 · Whole record: https://cve.day/CVE-2026-141339.json · Rebuilt by cve.day 2026-12-01T23:32:32.593Z
