{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31882","published":"2026-03-13T19:54:37Z","last_modified":"2026-06-17T10:34:41.403000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-306"],"cpes":[{"criteria":"cpe:2.3:a:dagu:dagu:*:*:*:*:*:*:*:*","part":"a","vendor":"dagu","product":"dagu","version_end_excluding":"2.2.4"}],"cpes_truncated":false,"vendors":["dagu"],"products":["dagu/dagu"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9wmw-9wph-2vwp","ecosystem":"npm","name":"dagu","purl":"pkg:npm/dagu","ranges":[{"introduced":"0","fixed":"2.2.4"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-31882/","html_en":"/en/cve/CVE-2026-31882/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31882","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31882"},"untrusted":{"vendor_name":"Dagu","product_name":"Dagu","desc_en":"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.","affected":[{"untrusted_vendor":"dagu-org","untrusted_product":"dagu","versions":[]}],"references":[{"url":"https://github.com/dagu-org/dagu/commit/064616c9b80c04824c1c7c357308f77f3f24d775","tags":["Patch"]},{"url":"https://github.com/dagu-org/dagu/pull/1752","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/dagu-org/dagu/releases/tag/v2.2.4","tags":["Product","Release Notes"]},{"url":"https://github.com/dagu-org/dagu/security/advisories/GHSA-9wmw-9wph-2vwp","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}