Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dagu
  4. ›
  5. CVE-2026-31882

CVE-2026-31882: Dagu: SSE Authentication Bypass in Basic Auth Mode

March 13, 2026 (updated March 16, 2026)

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.

References

  • github.com/advisories/GHSA-9wmw-9wph-2vwp
  • github.com/dagu-org/dagu
  • github.com/dagu-org/dagu/commit/064616c9b80c04824c1c7c357308f77f3f24d775
  • github.com/dagu-org/dagu/pull/1752
  • github.com/dagu-org/dagu/releases/tag/v2.2.4
  • github.com/dagu-org/dagu/security/advisories/GHSA-9wmw-9wph-2vwp
  • nvd.nist.gov/vuln/detail/CVE-2026-31882

Code Behaviors & Features

Detect and mitigate CVE-2026-31882 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.4

Fixed versions

  • 2.2.4

Solution

Upgrade to version 2.2.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

npm/dagu/CVE-2026-31882.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.