CVE-2026-126752: dagu-org Dagu · Remote code execution
Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-18
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.
Enclave's analysis
Dagu's workflow engine ships with authentication off by default, so anyone who can reach its HTTP API can hit POST /api/v2/dag-runs with an inline YAML spec and have the server run arbitrary shell commands — no login, no token, one request. The vendor reproduced this against the stock container image with zero config changes, and a verified public scanner (nuclei template with built-in Shodan/FOFA discovery) automates finding and exploiting it. Shadowserver flagged real exploitation activity months before the CVE even got an ID. Upgrade to 2.0.0, which forces an admin setup flow and turns auth on by default; anything older needs auth.mode explicitly set to builtin/basic right now.
Fix
Upgrade to 2.0.0.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Dagu | 1.23.0 before 2.0.0 | 2.0.0 |
Affected packages
- go:github.com/dagu-org/dagu