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// 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
Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2026-03-13. NVD baseline CVSS 7.6; sources differ by 1.5.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.6
- EG Score
- 9.1(medium)
- EG Risk
- 46(Track)EG Risk 46/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity91% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 36%
- KEV
- Not listed
Published
March 13, 2026
Last Modified
June 17, 2026
Advisory Details (2)
Auto-updated Aug 2, 2026Path Traversal via `dagRunId` in Inline DAG Execution · Advisory · dagucloud/dagu · GitHub
https://github.com/dagu-org/dagu/security/advisories/GHSA-m4q3-457p-hh2xcommit 12c2e5395bd9 (dagu-org/dagu)
Fix landed in dagu-org/dagu commit 12c2e5395bd9 — awaiting tagged release
https://github.com/dagu-org/dagu/commit/12c2e5395bd9331d49ca103593edfd0db39c4f38Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| go | github.com/dagu-org/dagu | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/dagu-org/dagu | — | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 28× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-17 19:30 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 19:08 UTCOSV refresh
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
Show 71 moreShow fewer
- 2026-08-24 14:17 UTCEPSS rescore
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 11:38 UTCEG score recompute
- 2026-08-16 11:38 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:12 UTCGHSA enrichment
- 2026-08-14 20:04 UTCGHSA enrichment
- 2026-08-14 15:56 UTCGHSA enrichment
- 2026-08-14 11:48 UTCGHSA enrichment
- 2026-08-14 07:40 UTCEG score recompute
- 2026-08-14 07:40 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 02:47 UTCGHSA enrichment
- 2026-08-12 22:38 UTCEG score recompute
- 2026-08-12 22:38 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 01:48 UTCGHSA enrichment
- 2026-08-11 21:41 UTCEG score recompute
- 2026-08-11 21:40 UTCGHSA enrichment
- 2026-08-11 08:57 UTCGHSA enrichment
- 2026-08-11 04:49 UTCEG score recompute
- 2026-08-11 04:49 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 12:17 UTCGHSA enrichment
- 2026-08-10 06:36 UTCGHSA enrichment
- 2026-08-10 02:05 UTCGHSA enrichment
- 2026-08-09 21:42 UTCGHSA enrichment
- 2026-08-09 17:35 UTCEG score recompute
- 2026-08-09 17:34 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 13:26 UTCGHSA enrichment
- 2026-08-09 07:18 UTCEG score recompute
- 2026-08-09 07:18 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 11:27 UTCGHSA enrichment
- 2026-08-08 06:26 UTCGHSA enrichment
- 2026-08-08 02:18 UTCGHSA enrichment
- 2026-08-07 22:08 UTCGHSA enrichment
- 2026-08-07 18:00 UTCEG score recompute
- 2026-08-07 18:00 UTCGHSA enrichment
- 2026-08-06 19:47 UTCEG score recompute
- 2026-08-06 19:47 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 10:30 UTCGHSA enrichment
- 2026-08-06 06:02 UTCGHSA enrichment
- 2026-08-06 01:54 UTCEG score recompute
- 2026-08-06 01:54 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-04 05:42 UTCGHSA enrichment
- 2026-08-04 01:10 UTCGHSA enrichment
- 2026-08-03 01:33 UTCGHSA enrichment
- 2026-08-02 21:25 UTCGHSA enrichment
- 2026-08-02 17:17 UTCEG score recompute
- 2026-08-02 17:17 UTCGHSA enrichment
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-27 13:38 UTCEG score recompute
- 2026-07-27 13:38 UTCGHSA enrichment
Related CVEs(same product + same CWE)
Frequently asked(5)
What is CVE-2026-31886?
When was CVE-2026-31886 disclosed?
Is CVE-2026-31886 actively exploited?
What is the CVSS score of CVE-2026-31886?
How do I remediate CVE-2026-31886?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31886
Is Your Infrastructure Affected by CVE-2026-31886?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.