CVE-2026-126752
Dagu 1.23.0 before 2.0.0 defaults auth.mode to none, allowing …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dagucloud/dagu/commit/c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649
- github.com/dagucloud/dagu/pull/1688
- github.com/dagucloud/dagu/security/advisories/GHSA-6qr9-g2xw-cw92
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/dagu-rce
- www.vulncheck.com/advisories/dagu-1.23.0-2.0.0-unauthenticated-rce-via-api-v2-dag-runs
- www.vulncheck.com/advisories/dagu-1.23.0-before-2.0.0-unauthenticated-rce-via-api-v2-dag-r
- nvd.nist.gov/vuln/detail/CVE-2026-126752
- cve.org/CVERecord?id=CVE-2026-126752
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.