CVE Explorer
CVE-2026-31886
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 direc
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"dagu","vendor":"dagu-org","versions":[{"status":"affected","version":"< 2.2.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dbbcbc4c1161952a8633c1c85ff997584c50ceb9a17bdba19e87eab6532c33bd · sha256:9e796f236015c84b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:dbbcbc4c1161952a8633c1c85ff997584c50ceb9a17bdba19e87eab6532c33bd · sha256:9e796f236015c84b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dbbcbc4c1161952a8633c1c85ff997584c50ceb9a17bdba19e87eab6532c33bd · sha256:9e796f236015c84b… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/dagu-org/dagu/commit/12c2e5395bd9331d49ca103593edfd0db39c4f38","tags":["x_refsource_MISC"],"url":"https://github.com/dagu-org/dagu/commit/12c2e5395bd9331d49ca103593edfd0db39c4f38"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dbbcbc4c1161952a8633c1c85ff997584c50ceb9a17bdba19e87eab6532c33bd · sha256:9e796f236015c84b… · /containers/cna/references/1
{"name":"https://github.com/dagu-org/dagu/security/advisories/GHSA-m4q3-457p-hh2x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-m4q3-457p-hh2x"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dbbcbc4c1161952a8633c1c85ff997584c50ceb9a17bdba19e87eab6532c33bd · sha256:9e796f236015c84b… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.