{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31882","id":"CVE-2026-31882","title":"Dagu SSE Authentication Bypass in Basic Auth Mode","description":"Dagu is a workflow engine with a built-in Web user interface. Prior to 2.2.4, when Dagu is configured with HTTP Basic authentication (DAGU_AUTH_MODE=basic), all Server-Sent Events (SSE) endpoints are accessible without any credentials. This allows unauthenticated attackers to access real-time DAG execution data, workflow configurations, execution logs, and queue status — bypassing the authenticati","descriptionLong":"Dagu is a workflow engine with a built-in Web user interface. Prior to 2.2.4, when Dagu is configured with HTTP Basic authentication (DAGU_AUTH_MODE=basic), all Server-Sent Events (SSE) endpoints are accessible without any credentials. This allows unauthenticated attackers to access real-time DAG execution data, workflow configurations, execution logs, and queue status — bypassing the authentication that protects the REST API. The buildStreamAuthOptions() function builds authentication options for SSE/streaming endpoints. When the auth mode is basic, it returns an auth.Options struct with BasicAuthEnabled: true but AuthRequired defaults to false (Go zero value). The authentication middleware at internal/service/frontend/auth/middleware.go allows unauthenticated requests when AuthRequired is false. This vulnerability is fixed in 2.2.4.","published":"2026-03-13T19:28:25.615Z","updated":"2026-11-18T20:45:26.284568125Z","reserved":"2026-03-09T21:59:02.686Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["dagu-org dagu"],"affectedProducts":[{"vendor":"dagu-org","product":"dagu","defaultStatus":null,"versions":[{"version":"< 2.2.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"dagu","purl":"pkg:npm/dagu","ranges":["<2.2.4"],"fixed":["2.2.4"],"advisory":"GHSA-9wmw-9wph-2vwp"}],"cwes":["CWE-306"],"aliases":["GHSA-9wmw-9wph-2vwp"],"references":[{"url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-9wmw-9wph-2vwp","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/dagu-org/dagu/pull/1752","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/dagu-org/dagu/commit/064616c9b80c04824c1c7c357308f77f3f24d775","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/dagu-org/dagu/releases/tag/v2.2.4","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31882.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31882","tags":["advisory"]},{"url":"https://github.com/dagu-org/dagu","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00884,"epssPercentile":0.60078,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31882","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31882","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31882","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9wmw-9wph-2vwp","ok":true,"note":"GHSA-9wmw-9wph-2vwp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31882","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}