SCA: security update for dagu (GHSA-9wmw-9wph-2vwp)

high Tenable Self-Hosted Container Security Plugin ID 438766

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-31882)

Solution

Update the dagu library and its related packages to version 2.2.4 or later.

See Also

https://github.com/advisories/GHSA-9wmw-9wph-2vwp

Plugin Details

Severity: High

ID: 438766

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/13/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-31882

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/13/2026

Vulnerability Publication Date: 3/13/2026

Reference Information

CVE: CVE-2026-31882

cwe: CWE-306