Skip to main content
VulnerabilityPublished

CVE-2026-31882: dagu · Missing Authentication

Affects daguSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 2.2.4 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.2.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade dagu and github.com/dagu-org/dagu to 2.2.4.

Affected software

ProductAffectedFixed in
dagu-orgdaguAffected
  • <2.2.4
Fixed in
  • 2.2.4
Gogithub.com/dagu-org/dagupkg:golang/github.com/dagu-org/daguOther threatsAffected
  • <2.2.4
Fixed in
  • 2.2.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade dagu to version 2.2.4 or later, where the authentication enforcement on SSE endpoints is corrected. Until upgrade is possible, organizations should consider the following specific measures: 1) Restrict network access to dagu instances by limiting exposure of SSE endpoints through firewall rules or network segmentation, allowing only trusted internal users. 2) Disable HTTP Basic authentication mode if feasible, or switch to more secure authentication mechanisms supported by dagu. 3) Monitor network traffic for unauthorized access attempts to SSE endpoints and audit logs for unusual activity. 4) Implement web application firewalls (WAFs) with rules to detect and block unauthenticated SSE endpoint access patterns. 5) Review and minimize sensitive data exposed via SSE streams to reduce impact if accessed. 6) Conduct security assessments to identify any exploitation attempts and validate that no further vulnerabilities exist in the deployment. These targeted mitigations complement the essential patching step to fully remediate the risk.

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.

References

Community reviews

Loading reviews…