CVE-2026-126752
9.8CriticalPublished 18 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-306
What an attacker gets
Unauthenticated attackers can execute arbitrary OS commands via the /api/v2/dag-runs endpoint. No user interaction or credentials are required to achieve full remote code execution.
Root cause
The application defaults the auth.mode configuration to none, leaving the API exposed without authentication.
Affected versions
Dagu 1.23.0 through 1.x versions prior to 2.0.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Dagu 2.0.0 or later. Immediately set auth.mode to 'basic' or 'oidc' in your configuration file to require authentication.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
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
- https://github.com/dagucloud/dagu/security/advisories/GHSA-6qr9-g2xw-cw92