Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-6591: Path Traversal in ComfyUI

0
Medium
VulnerabilityCVE-2026-6591cvecve-2026-6591
Published: Mon Apr 20 2026 (04/20/2026, 01:00:18 UTC)
Source: CVE Database V5
Product: 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

AILast updated: 04/20/2026, 01:31:01 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses