---
title: "CVE-2026-141339: Teriks dgenerate - Insecure Deserialization"
description: "Teriks dgenerate 6.0.0 development builds before commit b64fe08 contain an insecure deserialization vulnerability caused by unsafe pickle loading in load_hunyuan_dit_clip_image_encoder, letting attackers execute code with user privileges by supplying malicious clip_img_encoder.pt, exploit requires attacker to place malicious file in adapter repository or folder."
url: https://panop.io/threat-heartbeat/CVE-2026-141339/
---

# CVE-2026-141339 Teriks dgenerate - Insecure Deserialization

Teriks dgenerate 6.0.0 development builds before commit b64fe08 contain an insecure deserialization vulnerability caused by unsafe pickle loading in load\_hunyuan\_dit\_clip\_image\_encoder, letting attackers execute code with user privileges by supplying malicious clip\_img\_encoder.pt, exploit requires attacker to place malicious file in adapter repository or folder.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

EPSS

0.47% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-141339)

## Details

Type

Insecure Deserialization

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

1 December 2026

Updated

3 December 2026

Weakness

[CWE-502](https://cwe.mitre.org/data/definitions/502.html)

## Vendor fix

Update to a version including commit b64fe08 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-141339](https://nvd.nist.gov/vuln/detail/CVE-2026-141339)
- [https://github.com/Teriks/dgenerate/blob/fb6c9f5b9e5ecc6a51464bc9bea91845ecb49622/dgenerate/extras/hydit/image\_encoder.py#L310-L314](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/commit/b64fe085a03e5d326513f9f0001e2a461f5b2cfd)
- [https://github.com/Teriks/dgenerate/issues/95](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://www.vulncheck.com/advisories/teriks-dgenerate-6.0.0-development-builds-before-commit-b64fe08-unsafe-deserialization-via-hunyuan-dit-ip-adapter)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
