Skip to content

CVE-2026-33344 Dagu has an incomplete fix for CVE-2026-27598: path traversal via %2F-encoded slashes in locateDAG

HighCVSS 8.1 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
dagu-org github.com/dagu-org/dagu/v2(Go) >= 1.30.4-0.20260221021317-e2ed589105d7, < 1.30.4-0.20260319093346-7d07fda8f9de 1.30.4-0.20260319093346-7d07fda8f9de
dagu-org github.com/dagu-org/dagu/v2 = >= 2.0.0, < 2.3.1 No fix listed
dagu >= 2.0.0, < 2.3.1 2.3.1

References