{"id":"GHSA-5m6c-38r8-5w76","revision":null,"records":[{"revision":"e73e146dfe884f7e84837e096e127a72","observedAt":"2026-11-06T19:02:40.562+00:00","statement":{"source":"cve-program","id":"CVE-2026-102943","aliases":[],"title":"Dagu MCP DAG specification read bypasses path containment and workspace isolation","description":"Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP \u00A0dagu_read\u00A0 operation with target \u00A0dag_spec\u00A0 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 \u00A0.yaml\u00A0 or \u00A0.yml\u00A0 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.","state":0,"publishedAt":"2026-11-05T22:48:45.847+00:00","modifiedAt":"2026-11-06T17:42:54.886+00:00","affected":[{"ecosystem":"Vendor product","name":"dagu","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"dagucloud\",\n                    \"product\": \"dagu\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.11.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/dagucloud/dagu/security/advisories/GHSA-5m6c-38r8-5w76","https://github.com/dagucloud/dagu/pull/2424","https://github.com/dagucloud/dagu/commit/c15c5406bb7b9551f94ab276705f9fd1cebbf2d2","https://github.com/dagucloud/dagu/releases/tag/v2.11.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-102943","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-102943","identifiers":["CVE-2026-102943"]},"retained":false,"historicalAffected":[]},{"revision":"7835585335034a12b961b7d11bc23e7f","observedAt":"2026-11-14T17:37:40.956+00:00","statement":{"source":"euvd","id":"EUVD-2026-117876","aliases":["CVE-2026-102943","GHSA-5m6c-38r8-5w76"],"title":"Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP \u00A0dagu_read\u00A0 operation with target \u00A0dag_spec\u00A0 invokes the DAG specification API directly, bypassing the HTTP middleware introduced for CVE-2026-33…","description":"Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP \u00A0dagu_read\u00A0 operation with target \u00A0dag_spec\u00A0 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 \u00A0.yaml\u00A0 or \u00A0.yml\u00A0 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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":null}],"references":["https://github.com/dagucloud/dagu/security/advisories/GHSA-5m6c-38r8-5w76","https://github.com/dagucloud/dagu/pull/2424","https://github.com/dagucloud/dagu/commit/c15c5406bb7b9551f94ab276705f9fd1cebbf2d2","https://github.com/dagucloud/dagu/releases/tag/v2.11.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-117876","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 5, 2026, 10:48:45 PM","dateUpdated":"Nov 6, 2026, 5:42:54 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-117876","identifiers":["EUVD-2026-117876","CVE-2026-102943","GHSA-5m6c-38r8-5w76"]},"retained":false,"historicalAffected":[]},{"revision":"387ef681da5c42e5b4a316b667850ecd","observedAt":"2026-11-14T17:37:13.889+00:00","statement":{"source":"nvd","id":"CVE-2026-102943","aliases":[],"title":"Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP \u00A0dagu_read\u00A0 operation with target \u00A0dag_spec\u00A0 invokes the DAG specification API directly, bypassing the HTTP middleware introduced for CVE-2026-33…","description":"Dagu is a workflow engine with a built-in Web user interface. Prior to version 2.11.0, its MCP \u00A0dagu_read\u00A0 operation with target \u00A0dag_spec\u00A0 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 \u00A0.yaml\u00A0 or \u00A0.yml\u00A0 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.","state":0,"publishedAt":"2026-11-05T23:16:49.18+00:00","modifiedAt":"2026-11-12T22:18:51.47+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/dagucloud/dagu/commit/c15c5406bb7b9551f94ab276705f9fd1cebbf2d2","https://github.com/dagucloud/dagu/pull/2424","https://github.com/dagucloud/dagu/releases/tag/v2.11.0","https://github.com/dagucloud/dagu/security/advisories/GHSA-5m6c-38r8-5w76"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-102943","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-22","CWE-863"],"productCriteria":[],"sourceDates":{"published":"2026-11-05T23:16:49.180","lastModified":"2026-11-12T22:18:51.470"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-102943","identifiers":["CVE-2026-102943"]},"retained":false,"historicalAffected":[]},{"revision":"e4f042abbe1f4bc097812354dadbd797","observedAt":"2026-11-10T16:25:09.544+00:00","statement":{"source":"osv","id":"GHSA-5m6c-38r8-5w76","aliases":["CVE-2026-102943"],"title":"Dagu MCP DAG specification read bypasses path containment and workspace isolation","description":"## Summary\n\nThe 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).\n\n## The defect\n\nThe 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).\n\nThe MCP service does not go through that chain. internal/service/mcp/server.go calls the API method directly as an in-process Go call:\n\n```go\nfunc (svc *Service) getDAGSpec(ctx context.Context, name string) (map[string]any, error) {   // line 307\n    resp, err := svc.api.GetDAGSpec(ctx, daguapi.GetDAGSpecRequestObject{\n        FileName: daguapi.DAGFileName(name),                                                 // line 309\n    })\n```\n\nNo HTTP request is constructed, so no middleware executes, and the underlying resolver is still uncontained:\n\n```go\nfunc (store *Storage) locateDAG(nameOrPath string) (string, error) {                 // line 1041\n    if strings.Contains(nameOrPath, string(filepath.Separator)) {                    // line 1042\n        foundPath, err := findDAGFile(nameOrPath)\n        if err == nil {\n            return foundPath, nil                                                    // line 1045, no containment check\n        }\n    }\n```\n\nAn absolute path contains a separator, so it takes the first branch and is returned as-is, with no check that it falls under store.baseDir or any entry in store.searchPaths.\n\n## Verification\n\nVerified end to end using the project's own conformance/mcptest harness against a real running HTTP server, not by source reading:\n\n```\ndagu_read {\"target\":\"dag_spec\",\"name\":\"/abs/outside/secret.yaml\"}\n-> HTTP 200, full file contents returned in data.spec\n```\n\nThis also succeeded with a viewer-role API key on an auth-enabled server (auth.mode: builtin), so it is not admin-only. Control test that makes this a residual: the equivalent REST request is correctly blocked (400, \"name must only contain alphanumeric characters...\"). The HTTP lane is fixed; the MCP lane is not.\n\nBounded impact: read only (dagu_change and dagu_execute are both blocked by spec-level name validation; I tested both); only .yaml/.yml targets. Secondary: GetDAGSpec skips the requireWorkspaceVisible check its sibling handlers run, so this also crosses workspace isolation.\n\n## Suggested fix\n\nMove the containment check out of HTTP middleware and into locateDAG itself, rejecting any resolved path that does not fall under baseDir or a configured search path. A middleware that runs on only one of two transports into the same API cannot hold the boundary; the resolver is the correct chokepoint since both transports converge there. Separately, add requireWorkspaceVisible to GetDAGSpec to match its siblings.\n\n## Tooling\n\nAI assistance was used while investigating. The traversal was reproduced against a real running server through the project's own MCP conformance harness, including with a viewer-role API key, and the REST control test confirms the HTTP lane is blocked. Confirmed in the uncontained locateDAG branch and the direct in-process GetDAGSpec call at HEAD.","state":0,"publishedAt":"2026-11-10T15:56:49+00:00","modifiedAt":"2026-11-10T16:15:05.4590264+00:00","affected":[{"ecosystem":"Go","name":"github.com/dagu-org/dagu/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/dagucloud/dagu/security/advisories/GHSA-5m6c-38r8-5w76","https://nvd.nist.gov/vuln/detail/CVE-2026-102943","https://github.com/dagucloud/dagu/pull/2424","https://github.com/dagucloud/dagu/commit/c15c5406bb7b9551f94ab276705f9fd1cebbf2d2","https://github.com/dagucloud/dagu","https://github.com/dagucloud/dagu/releases/tag/v2.11.0"],"sourceUrl":"https://github.com/advisories/GHSA-5m6c-38r8-5w76","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5m6c-38r8-5w76","identifiers":["GHSA-5m6c-38r8-5w76","CVE-2026-102943"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T06:32:49.0909253+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T06:32:49.0909253+00:00","lastSuccessAt":"2026-11-16T06:32:49.2385546+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:32:49.2385553+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-abde759308377e81e6df4bcf26cc321fb83732781fbebab464d4068d744d1a38","complete":true,"records":425880,"lastAttemptAt":"2026-11-16T06:30:42.3104975+00:00","lastSuccessAt":"2026-11-16T05:30:47.3761859+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:30:42.3104975+00:00","snapshotPublishedAt":"2026-11-16T05:25:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-77cc6fd02adc466e81e402fc79a7ebc0","complete":false,"records":13821,"lastAttemptAt":"2026-11-16T06:43:34.3008175+00:00","lastSuccessAt":"2026-11-16T06:43:33.269+00:00","error":"174 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T06:43:33.269+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13700,"expectedIdentifiers":13874,"failedIdentifiers":174},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T06:32:49.0909253+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T06:32:49.0909253+00:00","lastSuccessAt":"2026-11-16T06:32:49.2393398+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:32:49.23934+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e13574a553734483a008bcd38cd6b056","complete":false,"records":13833,"lastAttemptAt":"2026-11-16T06:33:51.5767416+00:00","lastSuccessAt":"2026-11-16T06:33:51.573+00:00","error":"200 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T06:33:51.573+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13674,"expectedIdentifiers":13874,"failedIdentifiers":200},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T06:32:48.9429524+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:32:48.9429524+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T06:30:42.4706183+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:30:42.4706183+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T06:32:49.0470734+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:32:49.0470734+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-297b66f87afd66ce0c02547a007d4571597ddb0db63804850b3bb5664821bafa","complete":true,"records":232482,"lastAttemptAt":"2026-11-16T06:32:48.8045294+00:00","lastSuccessAt":"2026-11-16T06:32:47.3486736+00:00","error":null,"lastVerifiedAt":"2026-11-16T06:32:48.8045294+00:00","snapshotPublishedAt":"2026-11-16T05:48:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}