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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-31886— dagu 路径遍历漏洞

一分钟漏洞结论

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

dagu是Dagu Workflow Engine开源的一个工作流引擎。 dagu 2.2.4之前版本存在路径遍历漏洞,该漏洞源于dagRunId请求字段未经格式验证直接传递给filepath.Join,可能导致路径遍历和任意文件删除,造成拒绝服务。

CVSS 9.1 · Critical EPSS 0.50% · P42
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Dagu has a Path Traversal via `dagRunId` in Inline DAG Execution
来源: CVE Program / CVE List V5
Vulnerability Description
Dagu is a workflow engine with a built-in Web user interface. Prior to 2.2.4, the dagRunId request field accepted by the inline DAG execution endpoints is passed directly into filepath.Join to construct a temporary directory path without any format validation. Go's filepath.Join resolves .. segments lexically, so a caller can supply a value such as ".." to redirect the computed directory outside the intended /tmp/<name>/<id> path. A deferred cleanup function that calls os.RemoveAll on that directory then runs unconditionally when the HTTP handler returns, deleting whatever directory the traversal resolved to. With dagRunId set to "..", the resolved directory is the system temporary directory (/tmp on Linux). On non-root deployments, os.RemoveAll("/tmp") removes all files in /tmp owned by the dagu process user, disrupting every concurrent dagu run that has live temp files. On root or Docker deployments, the call removes the entire contents of /tmp, causing a system-wide denial of service. This vulnerability is fixed in 2.2.4.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5
Vulnerability Title
dagu 路径遍历漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
dagu是Dagu Workflow Engine开源的一个工作流引擎。 dagu 2.2.4之前版本存在路径遍历漏洞,该漏洞源于dagRunId请求字段未经格式验证直接传递给filepath.Join,可能导致路径遍历和任意文件删除,造成拒绝服务。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

神龙十问 — AI 深度分析

十问解析:根本原因、利用方式、修复建议、紧迫性。摘要免费,完整版需登录。

受影响产品

厂商 产品 影响版本 CPE 订阅
dagu-org dagu < 2.2.4 -

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

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

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

请登录查看更多情报信息。

CVE-2026-31886 补丁与修复 (1)

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

IV. Related Vulnerabilities