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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-19T19:25:44.000Z
- Modified: 2026-06-17T10:37:20.950Z
- Also known as: GHSA-ph8x-4jfv-v9v8, GO-2026-4785
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- dagu-org dagu: >= 2.0.0, < 2.3.1
- github.com/dagu-org/dagu (Go): from 1.30.4-0.20260221021317-e2ed589105d7 before 1.30.4-0.20260319093346-7d07fda8f9de
- dagu dagu: from 2.0.0 before 2.3.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/dagu-org/dagu/security/advisories/GHSA-ph8x-4jfv-v9v8> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/dagu-org/dagu/commit/7d07fda8f9de3ae73dfb081ccd0639f8059c56bb> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33344> (advisory)
- <https://github.com/dagu-org/dagu> (package)

## Sources

- CVE List: [CVE-2026-33344](https://www.cve.org/CVERecord?id=CVE-2026-33344), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-ph8x-4jfv-v9v8](https://github.com/advisories/GHSA-ph8x-4jfv-v9v8), CC-BY-4.0, modified 2026-03-27
- Go Vulnerability Database: [GO-2026-4785](https://pkg.go.dev/vuln/GO-2026-4785), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-33344](https://nvd.nist.gov/vuln/detail/CVE-2026-33344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33344 · Whole record: https://cve.day/CVE-2026-33344.json · Rebuilt by cve.day 2026-11-25T22:59:16.606Z
