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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.77% (percentile 79, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-ph8x-4jfv-v9v8, GO-2026-4785
- **Published:** 2026-03-19T19:25:44.000Z
- **Modified:** 2026-06-17T10:37:20.950Z

## Who should check

- Projects that depend on Go package github.com/dagu-org/dagu (\>= 1.30.4-0.20260221021317-e2ed589105d7, \< 1.30.4-0.20260319093346-7d07fda8f9de)
- Anyone running dagu-org dagu \>= 2.0.0, \< 2.3.1

## 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 and fixed versions

- Go `github.com/dagu-org/dagu`: affected \>= 1.30.4-0.20260221021317-e2ed589105d7, \< 1.30.4-0.20260319093346-7d07fda8f9de; fixed 1.30.4-0.20260319093346-7d07fda8f9de (osv)
- dagu-org dagu: \>= 2.0.0, \< 2.3.1 (cvelist)

## Mitigation

- Upgrade github.com/dagu-org/dagu to 1.30.4-0.20260319093346-7d07fda8f9de or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33344. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33344.md
Affected: github.com/dagu-org/dagu >= 1.30.4-0.20260221021317-e2ed589105d7, < 1.30.4-0.20260319093346-7d07fda8f9de
Fixed in: 1.30.4-0.20260319093346-7d07fda8f9de

Steps:
1. Search this machine and project for github.com/dagu-org/dagu (Go), dagu-org dagu: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33344 being exploited?

There is no confirmed exploitation: CVE-2026-33344 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.77% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33344?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-33344?

github.com/dagu-org/dagu \>= 1.30.4-0.20260221021317-e2ed589105d7, \< 1.30.4-0.20260319093346-7d07fda8f9de.

### Is there a fix for CVE-2026-33344?

Yes. Fixed in 1.30.4-0.20260319093346-7d07fda8f9de. Upgrade github.com/dagu-org/dagu to 1.30.4-0.20260319093346-7d07fda8f9de or later.

### How do I check if I'm affected by CVE-2026-33344?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/dagu-org/dagu/security/advisories/GHSA-ph8x-4jfv-v9v8>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-33344>
- patch: <https://github.com/dagu-org/dagu/commit/7d07fda8f9de3ae73dfb081ccd0639f8059c56bb>
- other: <https://github.com/dagu-org/dagu>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33344>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ph8x-4jfv-v9v8> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4785> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-33344> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33344>
