Cross-Site Request Forgery Vulnerability in ComfyUI by ComfyAnonymous
CVE-2026-6589

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
20 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-6589?

A security vulnerability has been identified in ComfyUI versions up to 0.13.0, specifically impacting the create_origin_only_middleware function within the server.py file. This vulnerability enables attackers to execute cross-site request forgery (CSRF) attacks, allowing unauthorized actions on behalf of users. The exploit can be initiated remotely, posing significant risks to users' data and system integrity. Despite prior notification to the vendor regarding this issue, there has been no response. Users of ComfyUI should urgently assess their systems for potential exposure.

Affected Version(s)

ComfyUI 0.1

ComfyUI 0.2

ComfyUI 0.3

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Eric-c (VulDB User)
VulDB CNA Team
.