Path Traversal in Comfy-Org Comfyui

CVE-2026-92816

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.

Vulnerability class: Path Traversal (Directory Traversal)

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-92816?
CVE-2026-92816 is a high-severity vulnerability in Comfy-Org Comfyui, classified under Path Traversal. CVSS score: 7.8/10. Published 2026-09-16.
How severe is CVE-2026-92816?
High severity. CVSS v3 base score is 7.8 out of 10.