CVE-2026-31882

Dagu SSE Authentication Bypass in Basic Auth Mode

HIGH
7.5
CVSS Score
Published: March 13, 2026 at 07:28 PM UTC
Updated: June 17, 2026 at 10:34 AM UTC
2 products affected across 2 vendorsDaguDagu

Using dagu by dagu-org?

Get instant alerts when new vulnerabilities affect dagu - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.8%
SSVC
PoC

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 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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.2.4
v < 2.2.4
Affected range stops below 2.2.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_CONFIRMExploitMitigationVendor Advisory
Source: cverecord
https://github.com/dagu-org/dagu/security/advisories/GHSA-9wmw-9wph-2vwp
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/dagu-org/dagu/pull/1752
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/dagu-org/dagu/releases/tag/v2.2.4

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-306

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card