Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid session credentials for target instance
-
DeliverySend HTTP request to restore_workflow_checkpoint with enumerated version_id from another session
-
ExploitBackend skips session ownership check and queries WorkflowVersion by ID only
-
ExecutionDatabase returns cross-session checkpoint data
-
ImpactAttacker reads disclosed workflow configuration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Resource identifier sanitization
|
| Exploitation Conditions | Exploitation requires an active authenticated session on the ComfyUI-Copilot instance (PR:L) - the attacker must possess a valid session token for the same deployment being targeted. The attacker must additionally enumerate or predict valid integer version_id or checkpoint_id values belonging to other sessions; the high attack complexity (AC:H) in the CVSS 4.0 vector directly reflects this enumeration prerequisite. Exploitation is limited to reading or overwriting workflow checkpoint configuration data (VC:L); no integrity impact on other systems (VI:N, VA:N, SC:N, SI:N, SA:N) is possible via this vector. No special non-default configuration is required on the victim deployment beyond having multiple active sessions with saved checkpoints. Single-user or local-only ComfyUI-Copilot installations without network-accessible backends are not reachable by remote attackers. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P) yields a base score of 2.3, reflecting the combination of network accessibility offset by high attack complexity and limited confidentiality-only impact. The E:P suffix (exploit publicly available) increases practical urgency compared to unexploited issues at the same base score, but does not override the fundamental exploitation constraint: the attacker must hold a valid authenticated session (PR:L) and must be able to enumerate or predict valid integer version_id values from other active sessions - the AC:H rating directly captures this enumeration difficulty. There is no CISA KEV listing and no EPSS score was provided in the input data; absence of KEV suggests no confirmed widespread active exploitation. Real-world risk is further bounded by the nature of exposed data - workflow checkpoint configuration - rather than credentials or PII. For shared multi-tenant deployments, this is a meaningful data isolation failure; for single-user local installations, risk is negligible. Overall: low priority for most deployments, moderate priority for shared or multi-user hosted instances. |
| Exploit ScenarioDerived | An authenticated user on a shared ComfyUI-Copilot deployment enumerates valid integer version_id values - for example by incrementing from their own checkpoint IDs - and issues crafted HTTP requests to the restore_workflow_checkpoint endpoint supplying those foreign identifiers. Because the handler performs no session ownership check, the server returns the target session's full workflow checkpoint data including workflow_data_ui configuration. A public proof-of-concept demonstrating this technique is available at https://github.com/AIDC-AI/ComfyUI-Copilot/issues/149. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 28, 2026
Workflow checkpoint endpoints in ComfyUI-Copilot up to 2.0.28 expose an insecure direct object reference (IDOR) flaw - the restore_workflow_checkpoint and update_workflow_ui handlers in conversation_api.py accept externally supplied version identifiers without verifying that the referenced checkpoint belongs to the requesting session, enabling an authenticated remote attacker to read workflow data owned by other sessions. The CVSS 4.0 score of 2.3 reflects limited confidentiality-only impact and high attack complexity (AC:H) due to the need to enumerate valid cross-session identifiers. A proof-of-concept is publicly available at GitHub issue #149; the upstream fix (PR #150) is pending acceptance and no patched release version has been confirmed.
RemediationAI
No patched release version has been confirmed - the fix exists only as the open PR #150 at https://github.com/AIDC-AI/ComfyUI-Copilot/pull/150, which administrators can manually apply by cherry-picking or patching the changes to conversation_api.py, workflow_table.py, and workflow_rewrite_tools.py as shown in the diff. Monitor the repository at https://github.com/AIDC-AI/ComfyUI-Copilot/ for a merged release and upgrade immediately upon availability. As compensating controls prior to patching: restrict network access to the ComfyUI-Copilot backend API to a trusted local network or VPN, reducing the remote attack surface (trade-off: limits legitimate remote access); if the deployment supports reverse-proxy configuration, add authorization middleware that enforces session-scoped access checks on the /restore_workflow_checkpoint and /update_workflow_ui routes (trade-off: requires custom proxy logic). These mitigations reduce but do not eliminate insider-threat or shared-session risk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ComfyUI-Copilot is a Python-based AI workflow assistant plugin for ComfyUI, a node-graph generative AI image pipeline interface. The vulnerable component is backend/controller/conversation_api.py, specifically the restore_workflow_checkpoint and update_workflow_ui async API handlers. Prior to the fix, these handlers called get_workflow_data_by_id(version_id) and update_workflow_ui_by_id(checkpoint_id, ...) - raw database lookups keyed solely on caller-supplied integer identifiers - with no verification that the referenced WorkflowVersion row belongs to the current user's session. CWE-99 (Improper Control of Resource Identifiers) precisely characterizes this root cause: externally controlled identifiers are used directly in data-layer queries without ownership validation. The fix in PR #150 introduces get_workflow_data_by_id_and_session(version_id, session_id) and update_workflow_ui_by_id_and_session(checkpoint_id, session_id, ...), which add a session_id equality filter to all WorkflowVersion ORM queries in both conversation_api.py and workflow_rewrite_tools.py, enforcing session-scoped resource isolation.
Know when Checkpoint gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Network-reachable API endpoint (AV:N) requires authenticated session (PR:L); high complexity (AC:H) because attacker must enumerate valid cross-session identifiers; confidentiality-only impact (C:L), no integrity or availability effect.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A flaw has been found in AIDC-AI ComfyUI-Copilot up to 2.0.28. This issue affects some unknown processing of the file backend/controller/conversation_api.py of the component Workflow Checkpoint Restore Handler. Executing a manipulation can lead to improper control of resource identifiers. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is assessed as difficult. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Checkpoint
View allGNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the inte
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e
Remote code execution in Check Point Quantum Security Gateway arises from improper certificate trust validation during V
Authentication bypass in the Check Point SmartConsole login process lets an unauthenticated remote attacker mint a valid
Authentication bypass in Check Point Quantum Security Gateway and Spark Firewalls allows unauthenticated remote attacker
Unauthenticated attackers who can reach the file-upload interface of Check Point Management Server can combine directory
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Remote code execution in Check Point Quantum Security Gateway and Quantum Security Management stems from a heap-based bu
Unauthenticated remote code execution affects Check Point Quantum Security Management, where a stack-based buffer overfl
The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data
EUVD-2026-39992
GHSA-cjxx-6mf8-hqmw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB