Path Traversal in Dagu
CVE-2026-33344
Dagu is a workflow engine with a built-in Web user interface. From version 2.0.0 to before version 2.3.1, the fix for CVE-2026-27598 added ValidateDAGName to CreateNewDAG and rewrote generateFilePath to use filepath.Base. This patched the CREATE path. The remaining API endpoints - GET, DELETE, RENAME, EXECUTE - all pass the {fileName} URL path parameter to locateDAG without calling ValidateDAGName. %2F-encoded forward slashes in the {fileName} segment traverse outside the DAGs directory. This issue has been patched in version 2.3.1.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.015, 75.0th percentile (scored ); up from 0.005 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.015 · change: +0.010
Affected products
- Dagu
- Dagu-Org Dagu — versions >= 2.0.0, < 2.3.1
Weakness classification (CWE)
References
- https://github.com/dagu-org/dagu/security/advisories/GHSA-ph8x-4jfv-v9v8 (Exploit, Mitigation, Vendor Advisory)
- https://github.com/dagu-org/dagu/commit/7d07fda8f9de3ae73dfb081ccd0639f8059c56bb (Patch)