CVE-2026-6591: Path Traversal in ComfyUI
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.
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
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.
CVSS v4.0
Score 5.3medium
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: 6/4/2026, 2:56:34 AM
Views: 251
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.