CVE-2026-102943: Dagu MCP DAG specification read bypasses path containment and workspace isolation
Published 2026-11-10 · Updated 2026-11-23 · Also known as GHSA-5m6c-38r8-5w76, GO-2026-6964
Summary
A path traversal and workspace isolation bypass vulnerability exists in Dagu's MCP service due to missing containment checks on in-process API calls. Engineering and security teams using Dagu should upgrade immediately to version 2.11.0.
Who is affected
Affected deployments running versions prior to 2.11.0 allow authenticated users with a viewer-role API key to read arbitrary .yaml or .yml files outside of workspace boundaries via the MCP tool surface. This occurs because the path traversal remediation previously applied only to the HTTP chi middleware chain and was not enforced at the storage resolver level for in-process MCP requests.
Exploitability
The vulnerability has a CVSS 3.1 base score of 6.5 (MEDIUM) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating network exploitability with low privileges required and high confidentiality impact. The EPSS score is 0.004 (percentile 0.364) and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/dagu-org/dagu/v2 to version 2.11.0 or later.
- Ensure path containment checks are enforced at the storage resolver level rather than solely relying on transport-specific HTTP middleware.
How to check your project
- Check go.mod to determine if github.com/dagu-org/dagu/v2 is within the range introduced at 0 and fixed in 2.11.0.
- Audit application configurations and logs for MCP service usage interacting with sensitive YAML files outside designated workspaces.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/dagu-org/dagu/v2 |
>= 0, < 2.11.0 | 2.11.0 | go get github.com/dagu-org/dagu/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
What packages are affected by CVE-2026-102943?
The Go package github.com/dagu-org/dagu/v2 in versions introduced at 0 and fixed prior to 2.11.0 is affected.
What permissions are required to exploit this vulnerability?
An attacker needs a viewer-role API key on an auth-enabled server (or access to the MCP service), making it accessible to low-privileged users.
Does this flaw allow write or execution access?
No, the impact is bounded to read-only access limited strictly to .yaml and .yml targets, as write and execute actions like dagu_change and dagu_execute remain blocked by spec-level name validation.
Original advisory description
References
- WEB https://github.com/dagucloud/dagu/security/advisories/GHSA-5m6c-38r8-5w76
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-102943
- WEB https://github.com/dagucloud/dagu/pull/2424
- WEB https://github.com/dagucloud/dagu/commit/c15c5406bb7b9551f94ab276705f9fd1cebbf2d2
- PACKAGE https://github.com/dagucloud/dagu
- WEB https://github.com/dagucloud/dagu/releases/tag/v2.11.0
Source records: GHSA-5m6c-38r8-5w76, GO-2026-6964 (OSV.dev) · EPSS by FIRST, 2026-11-26.