Skip to main content

CVE-2026-92816: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Comfy-Org ComfyUI

0
High
Published: 09/16/2026 (09/16/2026, 21:32:57 UTC)
Source: CVE Database V5
Vendor/Project: Comfy-Org
Product: ComfyUI

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.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

Comfy-Org

ComfyUI

Affected versions
>=0 <0.30.0
GitHub Actionsmore threats →ai
comfy-org/ComfyUI
pkg:github/comfy-org/ComfyUI
Affected versions
>=0 <0.30.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 21:31:57 UTC

Technical Analysis

ComfyUI before version 0.30.0 fails to properly sanitize the folder_name parameter in dataset save nodes. An attacker can exploit this by loading a crafted workflow that writes attacker-controlled content to arbitrary file system locations outside the designated output directory. This improper limitation of pathname enables path traversal, which can be leveraged to execute arbitrary code through modified startup scripts or package initialization files.

Potential Impact

Successful exploitation allows an attacker with local access and user interaction to write files to arbitrary locations on the file system, potentially leading to arbitrary code execution. This can compromise the integrity and security of the affected system by enabling execution of malicious code during application startup or package initialization.

Mitigation Recommendations

A fix is available in ComfyUI version 0.30.0 and later. Users should upgrade to version 0.30.0 or newer to remediate this vulnerability. Until then, avoid loading untrusted workflows that could exploit this path traversal issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-16T19:55:03.228Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aab006555bf5e2cf5231ff4

Added to database: 09/16/2026, 20:47:33 UTC

Last enriched: 09/16/2026, 21:31:57 UTC

Last updated: 09/17/2026, 02:02:50 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses