GHSA-9wmw-9wph-2vwp · Severity: high · Ecosystem: npm — Dagu: SSE Authentication Bypass in Basic Auth Mode
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.
Conclusion & alert: CVE-2026-31882 is rated High Exploit Risk (63.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.78%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.16% | 0.78% | +0.62% |
| 2 | 2026-04-24 | 0.12% | 0.16% | +0.04% |
| 3 | 2026-04-21 | — | 0.12% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-9wmw-9wph-2vwp · Severity: high · Ecosystem: npm — Dagu: SSE Authentication Bypass in Basic Auth Mode
| URL | Tags |
|---|---|
| https://github.com/dagu-org/dagu/commit/064616c9b80c04824c1c7c357308f77f3f24d775 | Patch |
| https://github.com/dagu-org/dagu/pull/1752 | Issue Tracking Patch |
| https://github.com/dagu-org/dagu/releases/tag/v2.2.4 | Product Release Notes |
| https://github.com/dagu-org/dagu/security/advisories/GHSA-9wmw-9wph-2vwp | Exploit Mitigation Vendor Advisory |