Go
CVE-2026-102943
Dagu MCP DAG specification read bypasses path containment and workspace isolation
- Severity
- Medium 6.5
- Published
- 10 Nov 2026
- Last changed
- 10 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.11.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-5m6c-38r8-5w76
- Sources
- OSV.dev and GitHub
Description
The traversal fix for CVE-2026-33344 was implemented as HTTP middleware installed only in the chi handler chain, but the MCP service calls the same API method in process, so arbitrary YAML file read is reachable again through the MCP tool surface with a viewer-role key. Read-only, limited to .yaml/.yml targets. Confirmed at HEAD f6c039f (post v2.10.7).
The fix for CVE-2026-33344 is a reflection-based HTTP middleware (internal/frontend/.../api.go, roughly lines 553-597) that inspects a request field named FileName and rejects anything that is not a plain name. It is installed in exactly one place: the chi strict-handler chain (api.go around line 419).
The MCP service does not go through that chain. internal/service/mcp/server.go calls the API method directly as an in-process Go call:
No HTTP request is constructed, so no middleware executes, and the underlying resolver is still uncontained:
Affected software
| Software | Affected versions |
|---|---|
github.com/dagu-org/dagu/v2Go · osv:Go:github.com/dagu-org/dagu/v2 |
|
About github.com/dagu-org/dagu/v2
This is the only vulnerability in github.com/dagu-org/dagu/v2 in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-102943
- GitHub Advisory Database https://github.com/advisories/GHSA-5m6c-38r8-5w76