Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with viewer-role API key
-
ExploitInvoke MCP dagu_read dag_spec with absolute/traversing path
-
ExecutionBypass HTTP traversal middleware via in-process GetDAGSpec call
-
ImpactExfiltrate arbitrary .yaml/.yml file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires: (1) the Dagu MCP service to be reachable by the attacker, and (2) a valid Dagu API key - a viewer-role key is sufficient, confirmed against an auth-enabled server (auth.mode: builtin), so it is not admin-only. The exploit is the dagu_read operation with target dag_spec and a name that is an absolute path or contains a path separator, which routes through the uncontained locateDAG branch. LIMITING FACTORS that reduce real-world impact: the operation is read-only (the sibling dagu_change and dagu_execute MCP operations are blocked by spec-level name validation), targets are restricted to .yaml/.yml files, the file must be readable by the Dagu process, and an authenticated API key is required (not anonymous). Crucially, this is reachable ONLY via the MCP transport - the equivalent REST request is correctly rejected (HTTP 400), so deployments without the MCP surface exposed are not affected, while those relying solely on the CVE-2026-33344 HTTP middleware fix remain vulnerable through MCP. |
| Impact | This is a genuine but mid-tier priority, not a drop-everything emergency. The CVSS 3.1 base of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) describes a network-reachable, low-complexity, confidentiality-only path traversal that requires a credential (PR:L). The available decision signals agree in direction: the vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, and no EPSS probability was supplied in the input, so there is no evidence of widespread opportunistic exploitation. What raises it above a theoretical finding is that the GHSA advisory documents an end-to-end reproduction against a real running server - a single MCP call (dagu_read with target dag_spec and an absolute path) returned full external file contents over HTTP 200, confirmed working even with a viewer-role key on an auth-enabled server (auth.mode: builtin). SSVC-style reasoning: exploitation is proof-of-concept rather than active, the technique is effectively automatable (one deterministic call), but technical impact is partial - read-only, limited to .yaml/.yml targets, with no write or execute capability. The key caveat to verify is remediation scope: the fix exists only in 2.11.0, and the flaw is specifically an incomplete remediation of CVE-2026-33344 reachable through the MCP transport, so environments that patched CVE-2026-33344 via the HTTP middleware may wrongly believe they are protected - they are not if the MCP tool surface is exposed. |
| Exploit ScenarioDerived | An attacker (or low-privilege insider) holding a viewer-role Dagu API key calls the MCP dagu_read operation with target dag_spec and supplies an absolute or traversing path such as /abs/outside/secret.yaml. Because the MCP service calls GetDAGSpec in-process, the HTTP traversal middleware added for CVE-2026-33344 never executes and the uncontained resolver returns the file, disclosing any .yaml/.yml file readable by the Dagu process (including other workspaces' specs and YAML-formatted secrets/config). A working reproduction is documented in the GHSA advisory via the project's own MCP conformance harness, so the technique is public; the low attack complexity makes it reliable once a viewer key is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Dagu workflow engine versions up to and including 2.10.7 let anyone holding a viewer-role API key read .yaml/.yml files outside the configured DAG directories through the MCP dagu_read operation with target dag_spec. The flaw is an incomplete fix for CVE-2026-33344: the traversal guard was built as HTTP middleware in the chi handler chain, but the MCP service calls GetDAGSpec in-process and the underlying locateDAG resolver still returns absolute or traversing paths without any containment check. Impact is bounded to read-only disclosure over the MCP transport - the equivalent REST request is still rejected with HTTP 400 and the sibling dagu_change/dagu_execute operations are blocked - which makes this a genuine but mid-tier priority rather than a drop-everything emergency, with no public exploit code identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to Dagu v2.11.0 (https://github.com/dagucloud/dagu/releases/tag/v2.11.0), which moves the containment check out of HTTP middleware and into the locateDAG resolver via ResolveExistingPathWithinBase, rewrites absolute inputs relative to each configured DAG directory, restricts candidates to .yaml/.yml, and adds regression coverage for outside-base and symlink-escape cases. The change is carried by PR https://github.com/dagucloud/dagu/pull/2424 (commit c15c5406bb7b9551f94ab276705f9fd1cebbf2d2). If upgrading immediately is not possible, restrict reachability of the MCP service to trusted clients - the equivalent REST request remains blocked with HTTP 400 by the existing CVE-2026-33344 middleware, so exposures limited to REST are not affected - at the cost of losing MCP tool functionality for legitimate users; issuing only admin-scoped keys does not fully help beyond limiting blast radius, and rotating viewer keys or narrowing their distribution reduces the set of principals that can trigger the read. Note that the fix also restores the requireWorkspaceVisible check on GetDAGSpec, which is worth verifying after upgrade if workspace isolation is relied upon. Applying the v2.11.0 upgrade is the complete fix.
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
Dagu stores DAG definitions as YAML files and resolves them through a file-backed storage layer whose locateDAG function decides whether the supplied name is a plain name or a path. Before the fix, any name containing a path separator (which an absolute path always does) was passed straight to findDAGFile and returned as-is, with no verification that the resolved file sits under baseDir or one of the configured search paths - the classic CWE-22 path traversal root cause. The prior CVE-2026-33344 remediation was a reflection-based HTTP middleware that inspected a FileName request field and rejected anything that was not a plain name, but it was installed only in the chi strict-handler chain. The MCP service (internal/service/mcp/server.go) invokes api.GetDAGSpec as a direct in-process Go call, so no HTTP request is ever constructed and no middleware executes, leaving the uncontained resolver reachable through the tool surface. The advisory also flags a secondary CWE-863 concern: GetDAGSpec skips the requireWorkspaceVisible check that its sibling handlers perform, so the same path crosses workspace isolation boundaries. The upstream fix relocates the boundary to the resolver itself, using ResolveExistingPathWithinBase against each configured DAG directory, converting absolute inputs to relative ones and adding dagFileCandidates handling for .yaml/.yml, plus symlink-escape regression tests.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Reachable over the network via the MCP endpoint (AV:N) with a single deterministic call (AC:L), requires a viewer-role API key (PR:L), no user interaction, and discloses YAML files that may hold secrets so C:H with no integrity or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP dagu_read operation with target dag_spec invokes the DAG specification API directly, bypassing the HTTP middleware introduced for CVE-2026-33344. The underlying resolver does not restrict resolved paths to configured DAG directories. An authenticated attacker with a viewer-role API key can supply an absolute or traversing path to read .yaml or .yml files outside those directories that are accessible to the Dagu process. The affected operation does not provide write or execution capability. This issue is fixed in version 2.11.0.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Arbitrary file write in Dagu workflow engine up to version 1.16.7 allows authenticated users with DAG write permissions
Unauthenticated remote code execution affects Dagu 1.23.0 through 1.30.3 (the CVE description frames the range as 1.23.0
EUVD-2026-117876
GHSA-5m6c-38r8-5w76
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB