目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-73040— Dockge 未验证堆栈名导致路径遍历与目录删除漏洞

一分钟漏洞结论

影响对象
louislam dockge
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Dockge 仅在写入路径上对堆栈名称进行验证。在 中, 函数内的白名单检查(要求名称匹配正则表达式 )仅通过 方法触发;而路径读取路径中, 方法直接使用 构造路径, 方法也使用 构造路径,且均未进行任何安全检查。 在 中的 Socket 处理器里,仅确认调用者已登录且名称为字符串,随后便直接将其传递给 。因此,包含路径遍历序列的名称可以解析到受管理的堆栈目录之外。 认证用户因此可以读取服务器进程能够访问的任何目录中的 和 值,从而泄露该目录中 文件或 Compose 文件中的密钥信息;还可以调用 方法,该方法执行

CVSS 8.8 · High EPSS 0.67% · P49

影响版本矩阵 1

厂商产品 版本范围状态
louislam dockge ≤ 1.5.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-73040 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Dockge Path Traversal via Unvalidated Stack Name Allows Arbitrary Compose and .env Disclosure and Arbitrary Directory Deletion
来源: CVE Program / CVE List V5
Vulnerability Description
Dockge validates a stack name only on the write path. In backend/stack.ts the allow-list check in validate(), which requires the name to match ^[a-z0-9_-]+$, is reached from save() alone, while the path getter returns path.join(this.server.stacksDir, this.name) and Stack.getStack builds path.join(server.stacksDir, stackName) with no check. The socket handlers in backend/agent-socket-handlers/docker-socket-handler.ts confirm the caller is logged in and that the name is a string, then pass it straight to Stack.getStack, so a name containing traversal sequences resolves outside the managed stacks directory. An authenticated user can therefore read the composeENV and composeYAML values of any directory the server process can reach, which discloses the secrets in that directory's .env or Compose file, and can invoke delete(), which runs docker compose down and then fsAsync.rm on the traversed path with recursive and force set, removing that directory. Disclosure is limited to files named .env or an accepted Compose filename, and deletion requires the target directory to hold a valid Compose file so that docker compose down exits successfully. Dockge commonly runs as root with access to the Docker socket, so the reachable set includes unrelated applications on the host. Instances configured with disableAuth, a supported option that logs the caller in as admin automatically, expose both operations without authentication.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
louislam dockge 0 ~ 1.5.0 -

二、漏洞 CVE-2026-73040 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5033 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-73040 的情报信息

登录查看更多情报信息。

CVE-2026-73040 补丁与修复 (4)

CVE-2026-73040 厂商安全公告 (1)

CVE-2026-73040 概念验证 (1)

CVE-2026-73040 厂商页面 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-73040

暂无评论


发表评论