<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Stable Diffusion - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/stable-diffusion/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 21 Aug 2026 15:25:24 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/stable-diffusion/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Path Traversal in Stable Diffusion WebUI</title><link>https://feed.craftedsignal.io/briefs/2026-08-path-traversal-sd-webui-afbdff6f/</link><pubDate>Fri, 21 Aug 2026 15:25:24 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-path-traversal-sd-webui-afbdff6f/</guid><description>CVE-2026-77814 is a path traversal vulnerability in Stable Diffusion WebUI caused by improper prefix validation in the is_path_trusted function, enabling unauthorized file access in network-exposed deployments.</description><content:encoded><![CDATA[<p>CVE-2026-77814 is a path traversal vulnerability residing in the <code>scripts/iib/api.py</code> file of the Stable Diffusion WebUI. The vulnerability stems from an insecure implementation of the <code>is_path_trusted</code> function, which performs a prefix check using <code>path.startswith(parent_path)</code> without appending a path separator. Consequently, if <code>/data/images</code> is the intended authorized directory, an attacker can bypass this restriction by requesting a path that starts with the same string, such as <code>/data/images_private/secret.txt</code>.</p>
<p>The security control is governed by <code>get_enable_access_control</code> in <code>scripts/iib/tool.py</code>. It is active when <code>IIB_ACCESS_CONTROL</code> is set to 'enable', or when the WebUI is exposed via <code>--share</code>, <code>--ngrok</code>, <code>--listen</code>, or <code>--server_name</code> flags. Deployments using these network-exposure options are vulnerable to unauthorized file disclosure. This flaw is critical for defenders because it allows attackers to bypass intended file system confinement to retrieve sensitive configuration or system files.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows unauthenticated remote attackers to perform path traversal and access files outside of the intended web root. This leads to the disclosure of sensitive data, such as system configuration files or other private assets reachable by the user account running the WebUI service. The risk is elevated in shared or network-exposed environments where the WebUI is intentionally configured to listen on external interfaces.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Stable Diffusion WebUI to a version that applies the fix, which uses <code>os.sep</code> to enforce directory boundaries during path validation.</li>
<li>Until patched, restrict network access to the WebUI interface using a firewall or VPN to prevent exploitation of the path traversal logic in network-exposed deployments.</li>
<li>Audit logs for HTTP requests containing directory traversal sequences or attempts to access directories that share a common prefix with authorized storage paths.</li>
<li>Disable IIB_ACCESS_CONTROL if the functionality is not required or if the risk cannot be mitigated through network isolation.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>