Missing authentication in Dagu allows unauthenticated remote code execution
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
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
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
- 2026-11-18 Threatist record created from CVE-2026-126752
- 2026-11-18 CISA SSVC decision points changed
- 2026-11-18 Alias added: GHSA-x489-j8qr-qwr5
References
Patch 2
Other 1
More dagu-org vulnerabilities
- 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
- CVE-2026-126752 · CVE Program
- CVE-2026-126752 · NVD
- FIRST EPSS
- GHSA-x489-j8qr-qwr5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences