CVE-2026-6591: ComfyUI LoadImage Node folder_paths.py folder_paths.get_annotated_filepath path traversal

Published Apr 20, 2026
·
Updated

A flaw has been found in ComfyUI up to 0.13.0. Affected is the function folderpaths.getannotatedfilepath of the file folderpaths.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.

Affected Software

1 affected component
ComfyUI ComfyUI<=0.13.0

Event History

Apr 20, 2026
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness
May 18, 58294
Event
via NVD·12:50 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6591?

CVE-2026-6591 has been rated with a severity level that indicates it poses a moderate risk to affected systems.

2

How do I fix CVE-2026-6591?

To fix CVE-2026-6591, upgrade ComfyUI to version 0.14.0 or higher, where the vulnerability has been addressed.

3

What components are affected by CVE-2026-6591?

CVE-2026-6591 affects the LoadImage Node component, specifically the folder_paths.get_annotated_filepath function in folder_paths.py.

4

What is the impact of CVE-2026-6591?

The impact of CVE-2026-6591 allows attackers to exploit path traversal vulnerabilities, potentially accessing unauthorized files and directories.

5

Who is the vendor of the affected software for CVE-2026-6591?

The vendor of the affected software for CVE-2026-6591 is ComfyUI.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203