Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-exposed Dagu API (port 8080)
-
ExploitPOST inline DAG spec to /api/v2/dag-runs
-
ExecutionShell command executes as dagu user
-
ImpactFull host compromise / RCE
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires only network reachability to the Dagu HTTP API (default :8080) with the default configuration, where auth.mode/DAGU_AUTH_MODE is 'none' - the condition is precisely the shipped default: every Docker deployment and documentation-following install without an explicit DAGU_AUTH_MODE override is exploitable with no credentials. No user interaction, authentication, or non-default feature is needed to reach the vulnerable POST /api/v2/dag-runs inline-spec code path. The primary limiting factor is deployment configuration: setting DAGU_AUTH_MODE to builtin or basic (the post-patch default) enables permission checks and blocks the unauthenticated path, and instances not exposed to an attacker's network are not reachable. Command execution runs as the dagu process user (observed uid=1000(dagu)), so impact is bounded by that user's privileges rather than guaranteed root. |
| Impact | This is a genuine top-priority vulnerability, not a high-CVSS-but-low-real-risk case, and multiple independent signals converge. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, 9.3) describes trivially reachable, network-based, unauthenticated exploitation with full confidentiality/integrity/availability impact on the vulnerable system, consistent with CWE-306 (missing authentication). The vuln.today decision label is act_now, a vendor patch exists (PR #1688 / commit c0e7cf7), and the Shadowserver Foundation reportedly first observed exploitation evidence on 2026-03-11 - real-world exploitation observed in telemetry, though the input does NOT indicate CISA KEV listing, so this is not 'confirmed actively exploited (CISA KEV)'. A public Nuclei template (projectdiscovery dagu-rce.yaml) and a vendor-confirmed working PoC in the GHSA advisory further lower the bar. No EPSS score was provided, so probabilistic exploitation likelihood cannot be quoted. One data conflict to verify: the CVE description and CPE state the flaw affects '1.23.0 before 2.0.0' (fixed in 2.0.0), while the GHSA source-code evidence field reports 'vulnerable <= 1.30.3' and 'fixed in: not yet patched' - the fixed-version boundary should be confirmed with the vendor before relying on it. |
| Exploit ScenarioDerived | An attacker scans for internet- or network-reachable Dagu instances (default port 8080) and, because the default auth.mode is none, sends a single unauthenticated POST to /api/v2/dag-runs containing an inline YAML spec whose step command is an arbitrary shell command. Dagu parses and immediately executes it on the host, returning a dagRunId and giving the attacker OS command execution as the dagu process user. A confirmed working PoC (curl one-liner writing to /tmp/pwned) is published in the GHSA advisory and a Nuclei detection template exists, and exploitation evidence was observed by Shadowserver on 2026-03-11. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Unauthenticated remote code execution affects Dagu 1.23.0 through 1.30.3 (the CVE description frames the range as 1.23.0 before 2.0.0) when authentication remains at the shipped default of none, allowing any instance reachable on its HTTP API to be compromised without credentials. The POST /api/v2/dag-runs endpoint accepts an inline YAML DAG spec and immediately executes its shell commands as the dagu process user, observed as uid=1000(dagu), so impact is bounded by that account rather than guaranteed root. A public proof-of-concept and Nuclei template exist, the PoC is confirmed against a default Docker deployment, exploitation evidence was first observed by Shadowserver on 2026-03-11, and the vuln.today decision is act_now; CISA KEV status is not provided in the available data.
RemediationAI
Apply the vendor fix referenced by PR https://github.com/dagucloud/dagu/pull/1688 and commit https://github.com/dagucloud/dagu/commit/c0e7cf7e1cfc3a52af8a9fb2da1ca911a9958649, or upgrade to a release that contains it; the CVE description uses 2.0.0 as the fixed boundary, while the GHSA package metadata lists <=1.30.3 as vulnerable and says not yet patched, so verify the exact release notes before relying on a version number. Upstream fix available (PR/commit); released patched version not independently confirmed. If the patch cannot be applied immediately, set DAGU_AUTH_MODE=builtin or basic explicitly so requireExecute enforces permission checks - this is also the post-patch default - and restrict network access to the Dagu HTTP API on port 8080. Trade-offs: enabling builtin auth requires creating the initial admin account via the new /auth/setup flow and managing the JWT token secret, and it will break clients that relied on unauthenticated access; network restriction may disrupt legitimate API integrations. Confirm the fix against the vendor advisory https://github.com/dagucloud/dagu/security/advisories/GHSA-6qr9-g2xw-cw92.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CVE-2026-126752 is a CWE-306 missing authentication for a critical function in Dagu, a workflow scheduler that executes shell commands defined in YAML DAG specs. The configuration loader sets AuthModeNone as the default at internal/service/app/config/loader.go:226, and with no auth mode configured the requireExecute check at internal/frontend/api/v2/handlers/api.go:520 returns nil, so all permission checks pass without a valid session. The POST /api/v2/dag-runs endpoint accepts a spec field containing a full YAML DAG definition; the spec is parsed and its commands execute immediately on the host with no validation beyond YAML parsing. The CVSS:4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N and the independent CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H agree on network-reachable, no-auth, no-interaction, high confidentiality/integrity/availability impact within the Dagu deployment. The condition is the shipped default: every Docker deployment and documentation-following install without an explicit DAGU_AUTH_MODE override is exploitable; setting DAGU_AUTH_MODE to builtin or basic enables permission checks and blocks the unauthenticated path.
Know when Dagu gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote unauthenticated POST to an API with no credentials (AV:N/AC:L/PR:N/UI:N) yields OS command execution as the dagu user, giving full C/I/A on that host without a scope change (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
CWE-306, Missing Authentication for Critical Functionality.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-126752 is a critical unauthenticated remote code execution vulnerability in Dagu versions 1.23.0 through 1.30.3 when authentication is disabled (the default). Any internet-accessible Dagu instance is at risk of full compromise, allowing attackers to execute arbitrary commands as the dagu user. Given confirmed exploitation and a public proof-of-concept, immediate action is required to protect organizational assets and data.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Arbitrary file write in Dagu workflow engine up to version 1.16.7 allows authenticated users with DAG write permissions
Dagu workflow engine versions up to and including 2.10.7 let anyone holding a viewer-role API key read .yaml/.yml files
EUVD-2026-129004
GHSA-x489-j8qr-qwr5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB