Skip to main content

Dagu EUVDEUVD-2026-117876

| CVE-2026-102943 MEDIUM
Path Traversal (CWE-22)
2026-11-05 GitHub_M GHSA-5m6c-38r8-5w76
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with viewer-role API key
  2. Exploit
    Invoke MCP dagu_read dag_spec with absolute/traversing path
  3. Execution
    Bypass HTTP traversal middleware via in-process GetDAGSpec call
  4. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

dagu < 2.11.0

Affected Packages

go github.com/dagu-org/dagu/v2 fix: 2.11.0
euvd dagu fix: 2.11.0

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 17:18 EUVD

DescriptionCVE.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

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche self-hosted open-source workflow engine, limited enterprise footprint
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy