{"id":"CVE-2026-68771","published":"2026-07-31T21:16:09Z","modified":"2026-11-08T14:08:17Z","title":"ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization","vendor":"Comfy-Org","product":"ComfyUI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01148,"percentile":0.67598,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/Comfy-Org/ComfyUI/pull/14543","tags":["vendor-advisory","patch"]},{"url":"https://github.com/Comfy-Org/ComfyUI","tags":["product"]},{"url":"https://github.com/Comfy-Org/ComfyUI/commit/94ee49b1612824366a8631ea069b2a1fa5c73720","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/comfyui-unauthenticated-rce-via-loadtrainingdataset-pickle-deserialization","tags":["third-party-advisory"]}],"priority":{"score":25.4,"factors":[{"name":"EPSS percentile","points":13.52},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-08-03","earliestUrl":"https://github.com/0xdak/CVE-2026-68771_exploit","repos":[{"name":"0xdak/CVE-2026-68771_exploit","url":"https://github.com/0xdak/CVE-2026-68771_exploit","stars":1,"created":"2026-08-03"},{"name":"Oscar-Collado/comfyui-CVE-2026-68771-PoC","url":"https://github.com/Oscar-Collado/comfyui-CVE-2026-68771-PoC","stars":0,"created":"2026-09-21"}]},"first":{"date":"2026-08-03","source":"PoC-in-GitHub","url":"https://github.com/0xdak/CVE-2026-68771_exploit"},"provenance":"source"},"vendorSlug":"comfy-org","affectedVersions":[{"vendor":"Comfy-Org","product":"ComfyUI","versions":["<= 0.23.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-03T17:07:51.637300Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-51652","exploited":false,"provenance":"source"}}