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

Published Sep 16, 2026
·
Updated

ComfyUI before 0.30.0 fails to sanitize foldername 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.

Affected Software

1 affected component
ComfyUI<0.30.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ComfyUI to a version that resolves this vulnerability.

    Fixed in 0.30.0

Event History

Sep 16, 2026
CVE Published
via MITRE·08:33 PM
Data Sourced
via MITRE·08:33 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

ComfyUI installations before 0.30.0 are exposed when a user loads a crafted workflow containing affected dataset save nodes. The attack requires local access and user interaction, as reflected by the AV:L and UI:R vector.

2

What does an attacker need to do to exploit this issue?

An attacker needs to provide a crafted workflow that supplies a malicious folder_name value to a dataset save node. This can cause attacker-controlled content to be written outside ComfyUI's intended output directory.

3

What is the practical impact of a successful exploit?

Arbitrary file writes can be used to modify startup files or package initializers. This can result in code execution with the privileges of the user running ComfyUI.

4

What version resolves the issue?

Upgrade ComfyUI to version 0.30.0 or later. Versions before 0.30.0 are identified as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203