Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33344: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in dagu-org dagu

0
High
VulnerabilityCVE-2026-33344cvecve-2026-33344cwe-22
Published: Tue Mar 24 2026 (03/24/2026, 19:23:56 UTC)
Source: CVE Database V5
Vendor/Project: dagu-org
Product: dagu

Description

CVE-2026-33344 is a high-severity path traversal vulnerability in the dagu workflow engine versions 2. 0. 0 up to but not including 2. 3. 1. The flaw arises because several API endpoints (GET, DELETE, RENAME, EXECUTE) fail to properly validate the {fileName} URL parameter, allowing attackers to use encoded forward slashes (%2F) to traverse directories outside the intended DAGs directory. This can lead to unauthorized access and modification of files, impacting confidentiality and integrity. The vulnerability requires network access and low privileges but no user interaction. It was patched in version 2. 3.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/31/2026, 20:34:03 UTC

Technical Analysis

CVE-2026-33344 is a path traversal vulnerability classified under CWE-22 affecting the dagu workflow engine, specifically versions from 2.0.0 up to but not including 2.3.1. Dagu provides a web user interface to manage Directed Acyclic Graphs (DAGs) for workflow orchestration. Previously, a fix for CVE-2026-27598 addressed path traversal in the CREATE operation by adding a ValidateDAGName function and sanitizing file paths using filepath.Base. However, this fix was incomplete because other API endpoints—GET, DELETE, RENAME, and EXECUTE—continued to accept the {fileName} URL parameter without invoking ValidateDAGName. This oversight allows attackers to supply %2F-encoded forward slashes within the {fileName} parameter, effectively bypassing directory restrictions and enabling traversal outside the designated DAGs directory. Exploiting this vulnerability can allow an attacker with network access and low privileges to read, rename, delete, or execute files outside the intended scope, compromising confidentiality and integrity of the system. The vulnerability does not require user interaction and has a CVSS 3.1 base score of 8.1, indicating high severity. The issue was addressed in dagu version 2.3.1 by extending validation to all relevant API endpoints, ensuring that path traversal attempts are blocked. No known exploits are currently reported in the wild, but the risk remains significant due to the ease of exploitation and potential impact on critical workflow files.

Potential Impact

The vulnerability allows unauthorized directory traversal, enabling attackers to access, modify, or execute files outside the intended DAGs directory. This can lead to disclosure of sensitive information, tampering with workflow definitions, or execution of arbitrary code if executable files are accessible. For organizations relying on dagu for workflow automation, this could disrupt business processes, cause data breaches, or facilitate further compromise of internal systems. Since the vulnerability requires only low privileges and no user interaction, it can be exploited remotely by authenticated users or potentially by attackers who gain limited access. The impact is particularly severe in environments where dagu is exposed to untrusted networks or integrated with critical infrastructure. The lack of known exploits in the wild suggests limited active exploitation so far, but the high CVSS score and straightforward exploitation method indicate a strong potential for damage if left unpatched.

Mitigation Recommendations

Organizations should immediately upgrade dagu to version 2.3.1 or later, where the vulnerability is fully patched. Until upgrade is possible, restrict network access to the dagu web interface using firewalls or VPNs to limit exposure to trusted users only. Implement strict authentication and authorization controls to minimize the risk of unauthorized access. Conduct a thorough audit of existing DAG files and related directories to detect any unauthorized modifications or suspicious activity. Monitor logs for unusual API requests containing encoded path traversal sequences such as %2F. Employ web application firewalls (WAFs) with custom rules to detect and block path traversal attempts targeting the {fileName} parameter. Educate administrators and developers about secure coding practices, emphasizing consistent input validation across all API endpoints. Finally, integrate vulnerability scanning and penetration testing into the development lifecycle to detect similar issues proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-18T22:15:11.813Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c2ea08f4197a8e3b6b6433

Added to database: 3/24/2026, 7:46:16 PM

Last enriched: 3/31/2026, 8:34:03 PM

Last updated: 5/7/2026, 5:32:40 PM

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses