Dagu remote code execution in DAG runs API
dagu-org Dagu
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dagu-org/dagu Go |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck