CyberRota Analysis
AI-GeneratedComfyUI versions prior to 0.28.0 are vulnerable due to insufficient containment checks in the folder_paths.get_annotated_filepath and exists_annotated_filepath functions, allowing unauthenticated users to exploit crafted POST requests to access arbitrary host paths and exfiltrate files. The impact includes potential unauthorized access to sensitive image-format files through various nodes, including LoadImage and LoadVideo. Organizations using ComfyUI should prioritize upgrading to version 0.28.0 to mitigate this high-severity vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
ComfyUI is a modular diffusion model GUI, API, and backend with a graph-and-node interface. Prior to 0.28.0, folder_paths.get_annotated_filepath and exists_annotated_filepath join workflow-controlled annotated filenames to a base directory without a containment check, allowing an unauthenticated crafted POST /prompt workflow using LoadImage or sibling nodes to probe arbitrary host paths and exfiltrate image-format files through /view. LoadImage defines a VALIDATE_INPUTS method, which causes the execution engine to skip COMBO (input-directory) validation. Affected nodes include LoadImage, LoadImageMask, LoadImageOutput, LoadAudio, LoadLatent, LoadVideo, and Load3D. This issue is fixed in version 0.28.0.