Summary
CVE-2026-126752 is a critical missing-authentication vulnerability (CWE-306) in Dagu, a workflow engine. In affected versions, authentication is disabled by default, so unauthenticated remote attackers can execute operating system commands on the host. The CVSS v4.0 score is 9.3 (Critical), and the CVSS v3.1 score is 9.8 (Critical).
Technical details
- Root cause: In Dagu 1.23.0 up to but not including 2.0.0,
auth.modedefaults tonone, so critical API functions are exposed without authentication (CWE-306). - Trigger conditions: A reachable Dagu instance running with the default authentication mode.
- Attack vector: Network. An attacker sends a POST request to the
/api/v2/dag-runsendpoint with an inline workflow specification that contains arbitrary shell commands. No credentials or user interaction are required. - Impact: Remote code execution with the privileges of the Dagu process, which gives an attacker control over confidentiality, integrity and availability of the host.
Affected software
- Dagu 1.23.0 through versions before 2.0.0
Severity
- CVSS v4.0 base score: 9.3 (Critical) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1 base score: 9.8 (Critical) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Dagu to version 2.0.0 or later.
- If you cannot upgrade immediately: Enable authentication so
auth.modeis notnone, and restrict network access to the Dagu interface and API so it is not reachable from untrusted networks. - Run Dagu with the least privileges possible, and review hosts running exposed Dagu instances for unexpected workflow runs or commands.

