CVE-2026-6591 | ComfyUI up to 0.13.0 LoadImage Node folder_paths.py folder_paths.get_annotated_filepath Name path traversal
VulDBArchived Apr 19, 2026✓ Full text saved
A vulnerability was found in ComfyUI up to 0.13.0 . It has been rated as critical . 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. This vulnerability is registered as CVE-2026-6591 . Remote exploitation of the attack is possible. Furthermore, an exploit is available. The vendor was contacted early about this disclosure but did not respond in any way.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358226 · SUBMIT #791112 · CVE-2026-6591
COMFYUI UP TO 0.13.0 LOADIMAGE NODE FOLDER_PATHS.PY FOLDER_PATHS.GET_ANNOTATED_FILEPATH NAME PATH TRAVERSAL
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
3.9 $0-$5k 2.48+
Summaryinfo
A vulnerability categorized as critical has been discovered in ComfyUI up to 0.13.0. Affected by this vulnerability is the function folder_paths.get_annotated_filepath of the file folder_paths.py of the component LoadImage Node. Such manipulation of the argument Name leads to path traversal. This vulnerability is documented as CVE-2026-6591. The attack can be executed remotely. Additionally, an exploit exists. The vendor was contacted early about this disclosure but did not respond in any way.
Detailsinfo
A vulnerability was found in ComfyUI up to 0.13.0. It has been rated as problematic. Affected by this issue is the function folder_paths.get_annotated_filepath of the file folder_paths.py of the component LoadImage Node. The manipulation of the argument name with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is confidentiality.
The advisory is available at gist.github.com. This vulnerability is handled as CVE-2026-6591. The exploitation is known to be easy. The attack may be launched remotely. Technical details as well as a public exploit are known. This vulnerability is assigned to T1006 by the MITRE ATT&CK project.
The exploit is available at gist.github.com. It is declared as proof-of-concept. The vendor was contacted early about this disclosure but did not respond in any way.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Productinfo
Name
ComfyUI
Version
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
0.11
0.12
0.13.0
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 3.9
VulDB Base Score: 4.3
VulDB Temp Score: 3.9
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Path traversal
CWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: no mitigation known
Status: 🔍
0-Day Time: 🔒
Timelineinfo
04/19/2026 Advisory disclosed
04/19/2026 +0 days VulDB entry created
04/19/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: gist.github.com
Status: Not defined
CVE: CVE-2026-6591 (🔒)
GCVE (CVE): GCVE-0-2026-6591
GCVE (VulDB): GCVE-100-358226
scip Labs: https://www.scip.ch/en/?labs.20161013
Entryinfo
Created: 04/19/2026 11:49
Changes: 04/19/2026 11:49 (57)
Complete: 🔍
Submitter: Eric-c
Cache ID: 99:C63:101
Submitinfo
Accepted
Submit #791112: comfyanonymous ComfyUI <= 0.13.0 (commit 6648ab68) Path Traversal (CWE-22) (by Eric-c)
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸