GHSA-m4q3-457p-hh2x · 深刻度: critical · エコシステム: go — Dagu: Path Traversal via `dagRunId` in Inline DAG Execution
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-2026-31886 は悪用リスクが高い(63.5/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 0.42%、33 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.42% | +0.37% |
| 2 | 2026-04-21 | 0.17% | 0.05% | -0.12% |
| 3 | 2026-04-14 | — | 0.17% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 9.1 | 3.1 | CRITICAL |
|
3.1 | 5.3 | [email protected] |
| 7.6 | 3.1 | HIGH |
|
2.8 | 4.7 | [email protected] |
GHSA-m4q3-457p-hh2x · 深刻度: critical · エコシステム: go — Dagu: Path Traversal via `dagRunId` in Inline DAG Execution
| URL | タグ |
|---|---|
| https://github.com/dagu-org/dagu/commit/12c2e5395bd9331d49ca103593edfd0db39c4f38 | Patch |
| https://github.com/dagu-org/dagu/security/advisories/GHSA-m4q3-457p-hh2x | Exploit Mitigation Vendor Advisory |