Vulnerability
CVE-2026-126752
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.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-6qr9-g2xw-cw92
Dagu affected by unauthenticated RCE via inline DAG spec in default configuration
-
GO-2026-4527
Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu
References
- https://github.com/dagucloud/dagu/commit/c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649
- https://github.com/dagucloud/dagu/pull/1688
- https://github.com/dagucloud/dagu/security/advisories/GHSA-6qr9-g2xw-cw92
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/dagu-rce.yaml
- https://www.vulncheck.com/advisories/dagu-1.23.0-2.0.0-unauthenticated-rce-via-api-v2-dag-runs
- https://www.vulncheck.com/advisories/dagu-1.23.0-before-2.0.0-unauthenticated-rce-via-api-v2-dag-runs