Arbitrary file write via unsanitized folder path
Published Sep 16, 2026 · Updated Sep 21, 2026
Path traversal in ComfyUI before 0.30.0 allows attackers to write files outside the output directory by running a crafted workflow. In comfy_extras/nodes_dataset.py, dataset save nodes join the free-form folder_name value to the output directory without containment checks, then write attacker-controlled captions, images, or serialized data. Execution requires a user to load and run the workflow; writes to startup files or package initializers execute code under that user's account.
Summary
What happened
Path traversal in ComfyUI before 0.30.0 allows attackers to write files outside the output directory by running a crafted workflow. In comfy_extras/nodes_dataset.py, dataset save nodes join the free-form folder_name value to the output directory without containment checks, then write attacker-controlled captions, images, or serialized data. Execution requires a user to load and run the workflow; writes to startup files or package initializers execute code under that user's account.
The record
- CVE
- CVE-2026-92816
- Published
- Sep 16, 2026
- Updated
- Sep 21, 2026
- Vendor
- Comfy Org
- Product
- ComfyUI
- Classifications
- CWE-22, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 16, 2026CVE publishedPublication date reported by the CVE source.
- Sep 21, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <0.30.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
- ComfyUI folder_name path-traversal proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Get started