S4E just found a medium-severity finding from vulnerable javascript library scanner
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Dec 2, 2026

CVE-2026-31882 Scanner

CVE-2026-31882 Scanner - Authentication Bypass vulnerability in Dagu

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
4.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
7.5
CVSShigh
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
daguby dagu-org
< 2.2.4
Updated Dec 2, 2026View on NVD →
Detail

Dagu is a workflow automation tool used by development and operations teams to manage data workflows efficiently. It is utilized in environments where complex data processes require automated scheduling and execution. Development teams use it to easily define and orchestrate data-related processes, ensuring they execute as expected. The tool is popular in data-oriented companies and is integrated with various data management systems to streamline workflows. Dagu improves operational efficiency by enabling teams to focus on data outcomes rather than the processes themselves. Its features are adaptable to different industry needs, from data engineering to analytics.

The Authentication Bypass vulnerability in Dagu is a significant security concern allowing attackers access to sensitive workflow data. The flaw existed due to the Server-Sent Events API not enforcing Basic authentication on versions before 2.2.4. This vulnerability allows unauthenticated users to subscribe to the /api/v1/events streams, potentially leading to data exposure. Attackers exploiting this vulnerability could gain unauthorized access to event information that should be restricted. The absence of authentication opens up avenues for information leakage from the system. Proper corrective measures are necessary to protect against unintended data access.

The vulnerability lies in the Server-Sent Events API, where authentication checks are skipped, resulting in open subscription capabilities for unauthorized users. During exploitation, attackers can issue requests to /api/v1/events/dags and obtain sensitive information due to improper authorization mechanisms. The vulnerable parameter does not effectively verify access permissions, allowing exposure of execution logs and queue state. The affected endpoint mishandles authentication requirements, leading to data being accessible without restriction. This issue highlights the necessity of strict access controls for endpoints conducting critical operations. Fixes involve updates that reinforce authentication obligations for accessing sensitive APIs.

Exploiting the vulnerability might give attackers access to the system's workflow data, which can lead to exposure of sensitive information such as execution logs and queue state. If an attacker gains unauthorized access, they could monitor data flows and potentially intercept or manipulate workflow processes. This could lead to the compromise of other security elements within the application environment. Successful exploitation would disrupt operations by leaking information that should remain confidential to authorized users only. The trust integrity of the workflow management system could be compromised, leading to potential compliance failures.

REFERENCES

Solution Advice
  • Update to version 2.2.4 or later to ensure that authentication enforcement is correctly implemented on all endpoints.
  • Implement additional security checks on Server-Sent Events APIs to verify that proper authorization is enforced.
  • Review and enhance security policies related to event subscriptions to prevent unauthorized access.
  • Conduct regular security audits to identify and address potential vulnerabilities proactively.
  • Implement logging and monitoring to detect unauthorized access attempts in real-time.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools