# CVE-2026-68771: ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/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
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2026-07-31T21:16:09.970Z
- Modified: 2026-11-08T14:08:17.312Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

ComfyUI v0.23.0 contains an unsafe deserialization vulnerability in the LoadTrainingDataset node that allows unauthenticated remote attackers to execute arbitrary Python code by uploading a crafted pickle file and triggering its deserialization. Attackers can upload a malicious shard_*.pkl file via the unauthenticated POST /upload/image endpoint and then queue a workflow graph via POST /prompt referencing the uploaded file, causing torch.load to deserialize the attacker-controlled pickle payload using __reduce__ and execute arbitrary commands as the ComfyUI process user.

(As written by CVE List.)

## Affected

- Comfy-Org ComfyUI: up to 0.23.0

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Comfy-Org/ComfyUI/pull/14543> (patch, vendor-advisory)
- <https://github.com/Comfy-Org/ComfyUI> (product)
- <https://github.com/Comfy-Org/ComfyUI/commit/94ee49b1612824366a8631ea069b2a1fa5c73720> (patch)
- <https://www.vulncheck.com/advisories/comfyui-unauthenticated-rce-via-loadtrainingdataset-pickle-deserialization> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2026-68771 · Whole record: https://cve.day/CVE-2026-68771.json · Rebuilt by cve.day 2026-11-25T22:59:30.743Z
