{"answers":{"affected":"3 open source packages ship an affected version, including github.com/dagu-org/dagu. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-33344 in the wild and no public exploit code.","fix":"Upgrade github.com/dagu-org/dagu to 1.30.4-0.20260319093346-7d07fda8f9de or later.","what":"CVE-2026-33344 is a high-severity path traversal vulnerability in dagu-org dagu, published on 24 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33344 and fix it if it is affected.\n\nWhat it is: CVE-2026-33344 is a high-severity path traversal vulnerability in dagu-org dagu, published on 24 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-33344 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/dagu-org/dagu (Go): affected from 1.30.4-0.20260221021317-e2ed589105d7; fixed in 1.30.4-0.20260319093346-7d07fda8f9de\n- github.com/dagu-org/dagu (Go): affected from 1.30.4-0.20260221021317-e2ed589105d7; fixed in 1.30.4-0.20260319093346-7d07fda8f9de\n- github.com/dagu-org/dagu (Go): affected from 1.30.4-0.20260221021317-e2ed589105d7; fixed in 1.30.4-0.20260319093346-7d07fda8f9de\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33344/ (Markdown: https://insights.sbomify.com/CVE-2026-33344/index.md)","id":"CVE-2026-33344","markdown":"https://insights.sbomify.com/CVE-2026-33344/index.md","name":"CVE-2026-33344","record":{"aliases":["GHSA-ph8x-4jfv-v9v8","GO-2026-4785"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Dagu workflow engine","requires_auth":"low_privilege","summary":"Attackers can traverse directories via encoded slashes in API endpoints to read or modify files outside the intended DAG directory.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dagu","vendor":"dagu"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Dagu has an incomplete fix for CVE-2026-27598: path traversal via %2F-encoded slashes in locateDAG","id":"CVE-2026-33344","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"solidtime vulnerable to IDOR in private projects","id":"CVE-2026-33345"},"packages":[{"ecosystem":"Go","fixed":["1.30.4-0.20260319093346-7d07fda8f9de"],"introduced":["1.30.4-0.20260221021317-e2ed589105d7"],"last_affected":[],"package":"github.com/dagu-org/dagu","purl":null,"source":"GHSA-ph8x-4jfv-v9v8"},{"ecosystem":"Go","fixed":["1.30.4-0.20260319093346-7d07fda8f9de"],"introduced":["1.30.4-0.20260221021317-e2ed589105d7"],"last_affected":[],"package":"github.com/dagu-org/dagu","purl":"pkg:golang/github.com/dagu-org/dagu","source":"GHSA-ph8x-4jfv-v9v8"},{"ecosystem":"Go","fixed":["1.30.4-0.20260319093346-7d07fda8f9de"],"introduced":["1.30.4-0.20260221021317-e2ed589105d7"],"last_affected":[],"package":"github.com/dagu-org/dagu","purl":"pkg:golang/github.com/dagu-org/dagu","source":"GO-2026-4785"}],"prev":{"headline":"etcd: Nested etcd transactions bypass RBAC authorization checks","id":"CVE-2026-33343"},"products":["dagu"],"published":"2026-03-24","related":[{"cvss_score":9.1,"headline":"Dagu has a Path Traversal via `dagRunId` in Inline DAG Execution","id":"CVE-2026-31886","kev_date_added":null,"published":"2026-03-13"},{"cvss_score":7.5,"headline":"Dagu SSE Authentication Bypass in Basic Auth Mode","id":"CVE-2026-31882","kev_date_added":null,"published":"2026-03-13"},{"cvss_score":7.1,"headline":"Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory","id":"CVE-2026-27598","kev_date_added":null,"published":"2026-02-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-24","vendors":["dagu-org"]},"summary":"Attackers can traverse directories via encoded slashes in API endpoints to read or modify files outside the intended DAG directory.","url":"https://insights.sbomify.com/CVE-2026-33344/"}