vuln-osv update 2026-11-18T18:45:11Z
This commit is contained in:
1 parent
25453fede2
commit
31aeac1fe5
52 files changed
+77
-58
No files matched your search
@@ -1 +1 @@
|
||||
{"schema_version":"1.9.0","id":"GHSA-6qr9-g2xw-cw92","published":"2026-02-19T22:04:39Z","modified":"2026-02-23T19:26:21.632734Z","aliases":["GO-2026-4527"],"summary":"Dagu affected by unauthenticated RCE via inline DAG spec in default configuration","details":"### Summary\nDagu's default configuration ships with authentication disabled. The `POST /api/v2/dag-runs` endpoint accepts an inline YAML spec and executes its shell commands immediately with no credentials required — any dagu instance reachable over the network is fully compromised by default.\n\n### Details\n`internal/service/app/config/loader.go:226` sets `AuthModeNone` as the default. With no auth mode configured, `internal/frontend/api/v2/handlers/api.go:520` returns `nil` from `requireExecute()` — all permission checks pass without a valid session.\n\nThe `POST /api/v2/dag-runs` endpoint accepts a `spec` field containing a full YAML DAG definition. The spec is parsed and the commands execute immediately on the host with no validation beyond YAML parsing.\n\n### PoC\n```bash\ncurl -s -X POST http://TARGET:8080/api/v2/dag-runs \\\n -H \"Content-Type: application/json\" \\\n -d '{\"name\":\"poc\",\"spec\":\"steps:\\n - name: rce\\n command: id > /tmp/pwned\\n\"}'\n# Response: {\"dagRunId\":\"<uuid>\"}\n# /tmp/pwned contains: uid=1000(dagu) gid=1000(dagu)\n```\nConfirmed on `ghcr.io/dagu-org/dagu:latest` with no configuration changes.\n\n### Impact\nEvery dagu deployment using default settings — every Docker deployment, every install following the documentation, every instance without explicit `DAGU_AUTH_MODE` configuration — is fully compromised without credentials. An attacker with network access gets OS command execution as the dagu process user.","affected":[{"package":{"name":"github.com/dagu-org/dagu","ecosystem":"Go","purl":"pkg:golang/github.com/dagu-org/dagu"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.30.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-6qr9-g2xw-cw92/GHSA-6qr9-g2xw-cw92.json"}}],"references":[{"type":"WEB","url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-6qr9-g2xw-cw92"},{"type":"PACKAGE","url":"https://github.com/dagu-org/dagu"}],"database_specific":{"cwe_ids":["CWE-306"],"github_reviewed":true,"github_reviewed_at":"2026-02-19T22:04:39Z","nvd_published_at":null,"severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}
|
||||
{"schema_version":"1.9.0","id":"GHSA-6qr9-g2xw-cw92","published":"2026-02-19T22:04:39Z","modified":"2026-11-18T17:10:32.607698555Z","aliases":["CVE-2026-126752","GO-2026-4527"],"summary":"Dagu affected by unauthenticated RCE via inline DAG spec in default configuration","details":"### Summary\nDagu's default configuration ships with authentication disabled. The `POST /api/v2/dag-runs` endpoint accepts an inline YAML spec and executes its shell commands immediately with no credentials required — any dagu instance reachable over the network is fully compromised by default.\n\n### Details\n`internal/service/app/config/loader.go:226` sets `AuthModeNone` as the default. With no auth mode configured, `internal/frontend/api/v2/handlers/api.go:520` returns `nil` from `requireExecute()` — all permission checks pass without a valid session.\n\nThe `POST /api/v2/dag-runs` endpoint accepts a `spec` field containing a full YAML DAG definition. The spec is parsed and the commands execute immediately on the host with no validation beyond YAML parsing.\n\n### PoC\n```bash\ncurl -s -X POST http://TARGET:8080/api/v2/dag-runs \\\n -H \"Content-Type: application/json\" \\\n -d '{\"name\":\"poc\",\"spec\":\"steps:\\n - name: rce\\n command: id > /tmp/pwned\\n\"}'\n# Response: {\"dagRunId\":\"<uuid>\"}\n# /tmp/pwned contains: uid=1000(dagu) gid=1000(dagu)\n```\nConfirmed on `ghcr.io/dagu-org/dagu:latest` with no configuration changes.\n\n### Impact\nEvery dagu deployment using default settings — every Docker deployment, every install following the documentation, every instance without explicit `DAGU_AUTH_MODE` configuration — is fully compromised without credentials. An attacker with network access gets OS command execution as the dagu process user.","affected":[{"package":{"name":"github.com/dagu-org/dagu","ecosystem":"Go","purl":"pkg:golang/github.com/dagu-org/dagu"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.30.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-6qr9-g2xw-cw92/GHSA-6qr9-g2xw-cw92.json"}}],"references":[{"type":"WEB","url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-6qr9-g2xw-cw92"},{"type":"PACKAGE","url":"https://github.com/dagu-org/dagu"}],"database_specific":{"cwe_ids":["CWE-306"],"github_reviewed":true,"github_reviewed_at":"2026-02-19T22:04:39Z","nvd_published_at":null,"severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}
|
||||
@@ -1 +1 @@
|
||||
{"schema_version":"1.7.3","id":"GO-2026-4527","published":"2026-02-23T18:23:15Z","modified":"2026-02-23T19:26:21.632734Z","aliases":["GHSA-6qr9-g2xw-cw92"],"summary":"Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu","details":"Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu","affected":[{"package":{"name":"github.com/dagu-org/dagu","ecosystem":"Go","purl":"pkg:golang/github.com/dagu-org/dagu"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-4527.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-6qr9-g2xw-cw92"}],"database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-4527"}}
|
||||
{"schema_version":"1.7.3","id":"GO-2026-4527","published":"2026-02-23T18:23:15Z","modified":"2026-11-18T17:10:32.607698555Z","aliases":["CVE-2026-126752","GHSA-6qr9-g2xw-cw92"],"summary":"Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu","details":"Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu","affected":[{"package":{"name":"github.com/dagu-org/dagu","ecosystem":"Go","purl":"pkg:golang/github.com/dagu-org/dagu"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-4527.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-6qr9-g2xw-cw92"}],"database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-4527"}}
|
||||
Reference in new issue
Block a user