Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-33344
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:05 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 24 Mar 2026, 19:23 UTC

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.

osv:CVE-2026-33344
Complete source record
{
  "id": "3f713a46ccebd8e5084f3ea29d27b91ff30db2496cb60a58822a2cfbf1893186",
  "url": "https://osv.dev/vulnerability/CVE-2026-33344",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Dagu has an incomplete fix for CVE-2026-27598: path traversal via %2F-encoded slashes in locateDAG",
    "summary": "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.",
    "evidence": "osv:CVE-2026-33344",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-33344",
      "aliases": [
        "CVE-2026-33344",
        "GHSA-ph8x-4jfv-v9v8",
        "GO-2026-4785"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dagucloud/dagu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b5df396d90297479b625eb7c7a7494089ba931eb"
                },
                {
                  "fixed": "b120a51bc2e236b2d7184058adad76a2324052b9"
                },
                {
                  "fixed": "7d07fda8f9de3ae73dfb081ccd0639f8059c56bb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dagu:dagu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7d07fda8f9de3ae73dfb081ccd0639f8059c56bb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "helm-dagu-1.0.4",
            "v2.3.0",
            "helm-dagu-1.0.2",
            "helm-dagu-1.0.1",
            "helm-dagu-1.0.0",
            "v2.2.4",
            "v2.2.3",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33344.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.106280261Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33344.json",
        "https://github.com/dagu-org/dagu/security/advisories/GHSA-ph8x-4jfv-v9v8",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-33344",
        "https://github.com/dagu-org/dagu/commit/7d07fda8f9de3ae73dfb081ccd0639f8059c56bb"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33344.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-33344",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508910,
  "published_at": "2026-03-24T19:23:56.617+00:00"
}