# CVE-2026-92816: ComfyUI before 0.30.0 Path Traversal via dataset save nodes

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- 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.16%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T20:33:01.106Z
- Modified: 2026-09-22T20:53:07.383Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Comfy-Org ComfyUI: before 0.30.0

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/geo-chen/oss/blob/main/ComfyUI.md> (exploit, technical-description)
- <https://github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#L303-L318> (technical-description)
- <https://github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py> (patch)
- <https://github.com/Comfy-Org/ComfyUI> (product)
- <https://www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-save-nodes> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-92816](https://www.cve.org/CVERecord?id=CVE-2026-92816), CVE Terms of Use, modified 2026-09-21
- NVD: [CVE-2026-92816](https://nvd.nist.gov/vuln/detail/CVE-2026-92816), Public domain, modified 2026-09-22

---

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