{"id":"CVE-2026-68771","aliases":["CVE-2026-68771"],"related":[],"kind":"vulnerability","state":"published","title":"ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"ComfyUI v0.23.0 contiene una vulnerabilidad de deserialización insegura en el nodo LoadTrainingDataset que permite a atacantes remotos no autenticados ejecutar código Python arbitrario al subir un archivo pickle manipulado y activar su deserialización. Los atacantes pueden subir un archivo shard_*.pkl malicioso a través del endpoint POST /upload/image no autenticado y luego poner en cola un grafo de flujo de trabajo a través de POST /prompt haciendo referencia al archivo subido, haciendo que torch.load deserialice la carga útil pickle controlada por el atacante usando __reduce__ y ejecute comandos arbitrarios como el usuario del proceso de ComfyUI.","source":"nvd"}],"published":"2026-07-31T21:16:09.970Z","modified":"2026-11-08T14:08:17.312Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.23.0","status":"affected"}],"vendor":"Comfy-Org","product":"ComfyUI","source":"cvelist"}],"references":[{"url":"https://github.com/Comfy-Org/ComfyUI/pull/14543","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Comfy-Org/ComfyUI","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Comfy-Org/ComfyUI/commit/94ee49b1612824366a8631ea069b2a1fa5c73720","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/comfyui-unauthenticated-rce-via-loadtrainingdataset-pickle-deserialization","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Bofei Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-08-03T17:07:51.637Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68771","url":"https://www.cve.org/CVERecord?id=CVE-2026-68771","licence":"CVE Terms of Use","modified":"2026-11-08T14:08:17.312Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68771","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68771","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:30.743Z","epss":{"score":0.0092,"percentile":0.61326,"date":"2026-12-01T12:00:22.000Z"}}