SecurityContext

CVE-2026-92816: ComfyUI - Path Traversal & Remote Code Execution

  • Cve: CVE-2026-92816
  • Name: ComfyUI - Path Traversal & Remote Code Execution
  • 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.
  • Impact: Attackers can write files to arbitrary locations and execute code, potentially leading to full system compromise.
  • Remediation: Update to version 0.30.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00203
  • Epss percentile: 0.10044
  • Assignee: [email protected]
  • Published at: 2026-09-16T21:17:31Z
  • Age in days: 69
  • Modified at: 2026-09-22T20:53:07Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-92816
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/Comfy-Org/ComfyUI
https://github.com/Comfy-Org/ComfyUI/blob/v0.24.0/comfy_extras/nodes_dataset.py#L303-L318
https://github.com/Comfy-Org/ComfyUI/blob/v0.30.0/comfy_extras/nodes_dataset.py
https://github.com/geo-chen/oss/blob/main/ComfyUI.md
https://www.vulncheck.com/advisories/comfyui-before-0.30.0-path-traversal-via-dataset-save-nodes

Products

ProductAffectedPlatform boundSourcesUrl
comfy:comfyui< 0.30.0nocna/v1/products/comfy/comfyui

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts