Read the docs
TI-2026-21984 Aliases CVE-2026-27598GHSA-6v48-fcq6-ff23

Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory

Priority MEDIUM 64CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

Dagu is a workflow engine with a built-in Web user interface. In versions up to and including 1.16.7, the `CreateNewDAG` API endpoint (`POST /api/v1/dags`) does not validate the DAG name before passing it to the file store. An authenticated user with DAG write permissions can write arbitrary YAML files anywhere on the filesystem (limited by the process permissions). Since dagu executes DAG files as shell commands, writing a malicious DAG to the DAGs directory of another instance or overwriting config files can lead to remote code execution. Commit e2ed589105d79273e4e6ac8eb31525f765bb3ce4 fixes the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00649 51st percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dagu-orgdaguup to 1.16.7—No fix listedCNA
—github.com/dagu-org/dagu (Go)up to 1.16.7—No fix listedGHSA-6v48-fcq6-ff23
  • dagu Vendordagu-org Affected up to 1.16.7 Fixed in — No fix listed CNA
  • github.com/dagu-org/dagu (Go) Vendor— Affected up to 1.16.7 Fixed in — No fix listed GHSA-6v48-fcq6-ff23

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dagu:dagu:*:*:*:*:*:*:*:*up to 1.16.7Vulnerabledagu-org
  • cpe:2.3:a:dagu:dagu:*:*:*:*:*:*:*:* Versions up to 1.16.7 Vulnerable ·dagu-org

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-27598
  2. 2026-10-03 Alias added: GHSA-6v48-fcq6-ff23

References

  • TI-2026-24438 Dagu has a Path Traversal via `dagRunId` in Inline DAG Execution CVSS 3.1CRITICAL 9.1
  • TI-2026-24434 Dagu SSE Authentication Bypass in Basic Auth Mode CVSS 3.1HIGH 7.5
  • TI-2026-25750 Dagu has an incomplete fix for CVE-2026-27598: path traversal via %2F-encoded slashes in locateDAG CVSS 3.1HIGH 8.1

Sources