{"id":82777,"date":"2026-07-31T07:51:54","date_gmt":"2026-07-31T04:21:54","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-56671-comfyui-path-traversal-in-experiment-models-preview-allows-arbitrary-image-file-read\/"},"modified":"2026-07-31T07:51:54","modified_gmt":"2026-07-31T04:21:54","slug":"cve-2026-56671-comfyui-path-traversal-in-experiment-models-preview-allows-arbitrary-image-file-read","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-56671-comfyui-path-traversal-in-experiment-models-preview-allows-arbitrary-image-file-read\/","title":{"rendered":"CVE-2026-56671 &#8211; ComfyUI: Path traversal in \/experiment\/models\/preview allows arbitrary image file read"},"content":{"rendered":"<p>CVE ID :CVE-2026-56671<\/p>\n<p>  Published : July 31, 2026, 4:21 a.m. | 1\u00a0hour, 24\u00a0minutes ago<\/p>\n<p>  Description :ComfyUI is a modular diffusion model GUI, api and backend with a graph\/nodes interface. Prior to 0.28.0, get_model_preview in app\/model_manager.py joins an unrestricted filename route capture to a selected model directory without a containment check, allowing an unauthenticated remote attacker to use traversal, encoded traversal, absolute paths, or an unbounded path_index to read image-decodable files and enumerate host paths. get_model_preview (app\/model_manager.py) built the path with os.path.join(folder, filename) where filename is an unrestricted {filename:.*} route capture. Literal ..\/, percent-encoded %2e%2e%2f, and absolute paths all escaped the model directory; path_index was also unbounded. The target file is piped through Pillow and re-encoded as WEBP, so disclosure is limited to image-decodable files plus a file-existence\/enumeration oracle (and internal-path leakage via path_index errors). This issue is fixed in version 0.28.0.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-56671 Published : July 31, 2026, 4:21 a.m. | 1\u00a0hour, 24\u00a0minutes ago Description :ComfyUI is a modular diffusion model GUI, api and backend with a graph\/nodes interface. Prior to 0.28.0, get_model_preview in app\/model_manager.py joins an unrestricted filename route capture to a selected model directory without a containment check, allowing an unauthenticated remote attacker &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82777","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82777"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82777\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}