Read the docs

Missing authentication in Dagu allows unauthenticated remote code execution

Priority HIGH 81CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-306.

Summary

Dagu from 1.23.0 before 2.0.0 defaults auth.mode to none, so the flaw is missing authentication for critical functionality (CWE-306). An unauthenticated remote attacker can run operating system commands by sending a crafted POST request to the /api/v2/dag-runs endpoint that defines shell commands in an inline spec. Shadowserver Foundation first observed exploitation attempts on 2026-03-11.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

Dagu 1.23.0 before 2.0.0 defaults auth.mode to none, allowing unauthenticated attackers to execute OS commands through the /api/v2/dag-runs endpoint. Attackers can send a POST request with an inline spec defining steps containing arbitrary shell commands to achieve remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2026-03-11.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01074 64th percentileScored 2026-11-30
Fix Fixed Dagu (dagu-org): 2.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

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-orgDagu1.23.0 to before 2.0.02.0.0Patch availableCNA
  • Dagu Vendordagu-org Affected 1.23.0 to before 2.0.0 Fixed in 2.0.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:dagu:dagu:*:*:*:*:*:*:*:*——dagu-org
  • cpe:2.3:a:dagu:dagu:*:*:*:*:*:*:*:* Versions — — ·dagu-org

Remediation

Upgrade Dagu to version 2.0.0 or later, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

  • Fix · CNA Dagu (dagu-org) Fixed in 2.0.0

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-126752
  2. 2026-11-18 CISA SSVC decision points changed
  3. 2026-11-18 Alias added: GHSA-x489-j8qr-qwr5

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-21984 Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory CVSS 4.0HIGH 7.1
  • 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