Directory Traversal Vulnerability in Dagu Workflow Engine by Dagu
CVE-2026-31886
9.1CRITICAL
What is CVE-2026-31886?
The Dagu Workflow Engine contains a directory traversal vulnerability due to improper handling of the dagRunId request field in inline DAG execution endpoints. This vulnerability allows an attacker to manipulate the path construction for temporary directories, potentially redirecting it to unintended locations on the filesystem. Upon invoking a cleanup function, sensitive files within the /tmp directory, or even the entire contents, may be deleted, resulting in disruption of service for all concurrent Dagu runs. This critical issue affects systems running versions prior to 2.2.4 and highlights the need for robust input validation in web applications.
Affected Version(s)
dagu < 2.2.4
