ComfyUI before 0.30.0 Path Traversal via dataset save nodes
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.5epss 0.2%
exploitation probability
0.2%top 95% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
ComfyUI before 0.30.0 fails to sanitize folder_name input in dataset save nodes, allowing attackers to write files to arbitrary paths outside the output directory. Attackers can load a crafted workflow that writes attacker-controlled content to arbitrary locations, enabling code execution through modified startup files or package initializers.
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
Affected products
Comfy-Org · ComfyUIpublic PoCs found — 1
cve_referencegithub.com/geo-chen/oss/blob/main/ComfyUI.mdunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/Comfy-Org/ComfyUIhttps://github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#L303-L318https://github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.pyhttps://github.com/geo-chen/oss/blob/main/ComfyUI.mdhttps://www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-save-nodes