Urgent Attacked
Dagu runs shell commands via /api/v2/dag-runs without authentication
CVE-2026-126752
Anyone can run commands on the Dagu task tool without a password!
- CVE
- CVE-2026-126752 (opens in a new tab)
- Score
- CVSS 9.8
- Public date
- 2026-02-19
- Attacks reported
- cve.org (opens in a new tab)
- First seen
9.8
Products
Mitigation
There is no fix yet. Set DAGU_AUTH_MODE explicitly to turn on authentication, and block internet access to the server.
Summary
Dagu servers accept shell commands sent to the /api/v2/dag-runs endpoint without any authentication. Servers using the default configuration are affected, and the advisory says versions up to 1.30.3 are affected.
Affected when
- auth.mode set to none by default
- Dagu 1.30.3 or earlier
Incidents by product: Dagu
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)