Skip to main content

Comfyui EUVDEUVD-2026-23735

| CVE-2026-6591 LOW
Path Traversal (CWE-22)
2026-04-20 VulDB
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain valid ComfyUI credentials or compromise existing user account
  2. Delivery
    Authenticate to ComfyUI instance
  3. Exploit
    Access LoadImage Node interface
  4. Install
    Inject path traversal sequence in Name parameter
  5. C2
    Send crafted request to folder_paths.get_annotated_filepath
  6. Execute
    Function resolves path outside intended directory
  7. Impact
    Attacker reads arbitrary file contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires authenticated access to a ComfyUI instance (PR:L). The attacker must have valid credentials or compromise a legitimate user account to interact with the LoadImage Node via the API or web interface. The LoadImage Node must be available and functional in the deployment. No special configuration is required - the vulnerability is present in default ComfyUI installations up to version 0.13.0. The attack is limited to confidentiality of files accessible to the ComfyUI process user; data exfiltration relies on successful path traversal and the ability to read file contents, not modify or delete them. Systems with properly configured filesystem permissions that restrict the ComfyUI process to a minimal set of directories may mitigate the practical impact, though the underlying vulnerability remains.

Impact

The CVSS score of 4.3 reflects a low-to-moderate risk profile with a network attack vector, low complexity, and low privileges required (PR:L), limiting scope to the confidentiality of files. However, CVSS does not capture the full risk context: the publicly available exploit code (POC=YES) significantly increases real-world exploitation likelihood. The EPSS metric is not provided, preventing probabilistic exploitation assessment. The 'E:P' notation in the vector (Exploit: Proof-of-Concept) and 'RL:X' (Release Level: Unavailable) suggest the vendor has not released a patch. The requirement for authenticated access (PR:L) substantially limits attack surface compared to unauthenticated vulnerabilities, as attackers must first gain valid credentials or compromise a legitimate user. The confidentiality-only impact (C:L/I:N/A:N) means data exfiltration is possible but system integrity and availability remain protected. Real-world priority depends on deployment context: in air-gapped or internally-hosted ComfyUI instances with restricted user access, risk is lower; in shared SaaS or multi-tenant deployments, risk is elevated due to easier credential compromise.

Exploit ScenarioDerived

An authenticated user or attacker with valid ComfyUI credentials crafts a malicious request to the LoadImage Node, injecting a path traversal sequence (e.g., '../../../etc/passwd') into the Name argument. The vulnerable folder_paths.get_annotated_filepath function fails to sanitize this input and resolves the path to a sensitive file outside the intended image directory, allowing the attacker to read the file contents and exfiltrate sensitive data such as configuration files, API keys, or source code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 20, 2026

Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files on the server by manipulating the Name argument in the LoadImage Node's folder_paths.get_annotated_filepath function. The vulnerability has publicly available exploit code and affects the image loading functionality, enabling attackers with valid credentials to access sensitive files outside intended directories.

RemediationAI

Upgrade ComfyUI to a version newer than 0.13.0 once a patched release is available. As of the time of analysis, the vendor (ComfyUI developers) has not responded to the early disclosure notification and no official patch version has been confirmed. In the interim, implement the following compensating controls: restrict network access to ComfyUI instances to trusted internal networks only using firewall rules or VPN access, enforce strong authentication and session management to reduce the likelihood of credential compromise, and disable or restrict the LoadImage Node feature if image loading is not critical to your workflow. Alternatively, run ComfyUI in a sandboxed or containerized environment with filesystem restrictions to limit the scope of path traversal attacks. Monitor the official ComfyUI GitHub repository (https://github.com/comfyanonymous/ComfyUI) and the VulDB reference (https://vuldb.com/vuln/358226) for patch availability announcements. Apply patches immediately upon release, as the combination of publicly available exploit code and network accessibility creates significant residual risk.

Affected VersionsENISA

comfyui 0.1
comfyui 0.12
comfyui 0.3
comfyui 0.6
comfyui 0.2
comfyui 0.10
comfyui 0.13.0
comfyui 0.11
comfyui 0.4
comfyui 0.7
comfyui 0.5
comfyui 0.8
comfyui 0.9

Affected Packages

euvd comfyui no fix

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 is a node-based UI framework for Stable Diffusion. The vulnerability exists in the LoadImage Node component, specifically in the folder_paths.py module's get_annotated_filepath function. This function handles file path resolution for loading images but fails to properly sanitize the Name argument, allowing directory traversal sequences (e.g., '../../../') to bypass path restrictions. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) indicates insufficient input validation on file path components. The affected CPE (cpe:2.3:a:comfyui) indicates all versions up to 0.13.0 are vulnerable. The vulnerability is exploitable over the network as the LoadImage Node receives input that can be crafted by any authenticated user of the ComfyUI instance.

Know when Comfyui 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

NVD PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
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)
CVE Published
Apr 20, 2026 - 01:00 nvd
LOW 2.1

DescriptionCVE.org

A flaw has been found in ComfyUI up to 0.13.0. Affected is the function folder_paths.get_annotated_filepath of the file folder_paths.py of the component LoadImage Node. This manipulation of the argument Name causes path traversal. Remote exploitation of the attack is possible. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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