CVE-2026-6591: Path Traversal in ComfyUI
CVE-2026-6591 is a medium-severity path traversal vulnerability in ComfyUI versions up to 0. 13. 0. It affects the function folder_paths. get_annotated_filepath within the LoadImage Node component. The vulnerability allows remote attackers with limited privileges to manipulate an argument to traverse directories. The vendor has not responded to the disclosure, and no official patch or remediation is currently available. Exploit code has been published but there are no confirmed reports of exploitation in the wild.
AI Analysis
Technical Summary
This vulnerability exists in ComfyUI's folder_paths.py file, specifically in the get_annotated_filepath function used by the LoadImage Node. By manipulating the 'Name' argument, an attacker can perform path traversal, potentially accessing files outside intended directories. The vulnerability can be exploited remotely without user interaction and requires low attack complexity and limited privileges. The CVSS 4.0 base score is 5.3, reflecting medium severity. No vendor advisory or patch has been published, and the vendor did not respond to early contact attempts.
Potential Impact
Successful exploitation could allow an attacker to read arbitrary files on the system where ComfyUI is running, potentially exposing sensitive information. The vulnerability does not require user interaction and can be triggered remotely with low complexity. However, it requires limited privileges, and there is no indication of privilege escalation or code execution. No confirmed exploitation in the wild has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider restricting access to the affected component and monitor for suspicious activity. Avoid exposing ComfyUI instances to untrusted networks until a fix is released.
CVE-2026-6591: Path Traversal in ComfyUI
Description
CVE-2026-6591 is a medium-severity path traversal vulnerability in ComfyUI versions up to 0. 13. 0. It affects the function folder_paths. get_annotated_filepath within the LoadImage Node component. The vulnerability allows remote attackers with limited privileges to manipulate an argument to traverse directories. The vendor has not responded to the disclosure, and no official patch or remediation is currently available. Exploit code has been published but there are no confirmed reports of exploitation in the wild.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in ComfyUI's folder_paths.py file, specifically in the get_annotated_filepath function used by the LoadImage Node. By manipulating the 'Name' argument, an attacker can perform path traversal, potentially accessing files outside intended directories. The vulnerability can be exploited remotely without user interaction and requires low attack complexity and limited privileges. The CVSS 4.0 base score is 5.3, reflecting medium severity. No vendor advisory or patch has been published, and the vendor did not respond to early contact attempts.
Potential Impact
Successful exploitation could allow an attacker to read arbitrary files on the system where ComfyUI is running, potentially exposing sensitive information. The vulnerability does not require user interaction and can be triggered remotely with low complexity. However, it requires limited privileges, and there is no indication of privilege escalation or code execution. No confirmed exploitation in the wild has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider restricting access to the affected component and monitor for suspicious activity. Avoid exposing ComfyUI instances to untrusted networks until a fix is released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-19T09:44:01.638Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e57e5719fe3cd2cd43e17a
Added to database: 4/20/2026, 1:16:07 AM
Last enriched: 4/20/2026, 1:31:01 AM
Last updated: 4/20/2026, 3:32:51 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.