Skip to main content

N A CVE-2026-6589

| EUVDEUVD-2026-23731 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-04-20 VulDB
2.1
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

8
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 20, 2026 - 01:22 NVD
4.3 (MEDIUM) 5.3 (MEDIUM)
Analysis Generated
Apr 20, 2026 - 01:18 vuln.today
EUVD ID Assigned
Apr 20, 2026 - 01:15 euvd
EUVD-2026-23731
Analysis Generated
Apr 20, 2026 - 01:15 vuln.today
CVE Published
Apr 20, 2026 - 00:30 nvd
LOW 2.1

DescriptionCVE.org

A security vulnerability has been detected in ComfyUI up to 0.13.0. This affects the function create_origin_only_middleware of the file server.py. The manipulation leads to cross-site request forgery. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

AnalysisAI

Cross-site request forgery (CSRF) in ComfyUI up to version 0.13.0 allows unauthenticated remote attackers to modify application state via crafted requests to the create_origin_only_middleware function in server.py. The vulnerability requires user interaction (clicking a malicious link or visiting an attacker-controlled site) but has low integrity impact and is publicly exploitable with proof-of-concept code available. The vendor has not responded to early disclosure notification.

Technical ContextAI

ComfyUI is a node-based UI for Stable Diffusion and other generative AI models. The vulnerability resides in the create_origin_only_middleware function within server.py, which is responsible for managing cross-origin request policies. The root cause is classified under CWE-352 (Cross-Site Request Forgery), indicating insufficient CSRF token validation or origin verification when processing state-modifying requests. The CVSS vector AV:N/AC:L/PR:N/UI:R indicates the flaw is exploitable over the network without authentication but requires user interaction (UI:R), such as clicking a malicious link while authenticated to ComfyUI. The affected CPE encompasses all versions of ComfyUI up to and including 0.13.0.

RemediationAI

Upgrade ComfyUI to a version released after the disclosure; however, no specific patched version number is confirmed in available data due to lack of vendor response. Until an official patch is available, apply these compensating controls: (1) Implement strict Content Security Policy (CSP) headers restricting frame-ancestors and preventing cross-site framing, which mitigates CSRF by reducing the attack surface; (2) Configure SameSite=Strict cookies for all session tokens to prevent cookie transmission in cross-site requests, though this may affect legitimate cross-domain workflows; (3) Restrict ComfyUI access to authenticated users only and use a WAF or reverse proxy to enforce origin whitelisting, explicitly rejecting requests from untrusted origins; (4) Deploy ComfyUI behind a CSRF token validation layer (e.g., nginx module or reverse proxy middleware) that enforces token verification on all state-modifying requests (POST/PUT/DELETE). Monitor the VulDB advisory and ComfyUI GitHub repository for patch announcements. Contact the ComfyUI maintainers directly via GitHub issues if patch status remains unclear.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Share

CVE-2026-6589 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy