cvelo
P3 · MediumCVSS 6.5

Unauthenticated Path Traversal in ComfyUI-Easy-Use Allows Remote Code Execution

  • CVE-2026-123790
  • GHSA-25xv-w465-qr9f
  • EUVD-2026-124521

Description

ComfyUI-Easy-Use version 1.3.6 contains a path traversal vulnerability in the `save_preview()` handler for POST `/easyuse/save/{name}`. The handler checks the source directory before appending a user-supplied filename and allows the request to select the `custom_nodes` directory as a copy destination. An unauthenticated attacker who can reach the ComfyUI server can overwrite an installed custom node’s Python entry point with an uploaded file. When ComfyUI restarts and loads the modified node, the attacker’s code runs with the privileges of the ComfyUI process.

Text from the CVE.org record.

Affected

  • ComfyUI-Easy-Use

    • from 1.3.6 up to 1.4.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.