<?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>Dockge - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/dockge/</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>Thu, 20 Aug 2026 21:19:28 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/dockge/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 Vulnerability in Dockge (CVE-2026-73040)</title><link>https://feed.craftedsignal.io/briefs/2026-08-dockge-path-traversal/</link><pubDate>Thu, 20 Aug 2026 21:19:28 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-dockge-path-traversal/</guid><description>Dockge fails to validate stack names in read and delete operations, allowing authenticated or unauthenticated attackers to perform arbitrary file reads or recursive directory deletion via path traversal.</description><content:encoded><![CDATA[<p>Dockge, a management tool for Docker Compose stacks, contains a path traversal vulnerability identified as CVE-2026-73040. The vulnerability exists because the application validates stack names only during the 'save' operation. The 'validate()' function in 'backend/stack.ts' enforces an allow-list regex (^[a-z0-9_-]+$), but this check is bypassed by other functions like 'Stack.getStack', which directly constructs paths using user-provided names without sanitization.</p>
<p>Attackers can pass traversal sequences (e.g., '../') via socket handlers to target files and directories outside the intended 'stacksDir'. An authenticated user, or any user on an instance configured with 'disableAuth', can read sensitive files like '.env' or compose YAML files, or trigger recursive deletion of directories if the target contains a valid Compose file. Given that Dockge often runs with root privileges and active Docker socket access, this vulnerability allows for broad system-level impact, including the deletion of unrelated host directories or the theft of credentials stored in environment files.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in unauthorized disclosure of sensitive secrets (e.g., database passwords, API keys) from '.env' files or arbitrary file deletion on the underlying host filesystem. The impact is critical due to the typical execution of Dockge as the root user with unrestricted access to the Docker socket. The vulnerability affects instances where authentication is enabled (requiring valid credentials) and is trivially exploitable on instances configured with 'disableAuth'.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade to the patched version of Dockge immediately upon release to address the validation gap in 'backend/stack.ts'.</li>
<li>Disable the 'disableAuth' configuration option in all production environments to require mandatory authentication.</li>
<li>Monitor web server and Docker socket proxy logs for requests containing traversal patterns such as '../' or encoded directory sequences.</li>
<li>Restrict access to the Docker socket to ensure that even if the application is compromised, the impact on the broader host filesystem is minimized.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cve-2026-73040</category><category>path-traversal</category><category>rce</category><category>web-vulnerability</category></item></channel></rss>