Skip to main content

macOS CVE-2026-33344

| EUVDEUVD-2026-14016 HIGH
Path Traversal (CWE-22)
8.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Exploit
    Send GET/DELETE/RENAME/EXECUTE request with %2F-encoded path traversal in fileName parameter
  3. Execution
    locateDAG resolves traversal outside DAGs directory
  4. Impact
    Access arbitrary files on filesystem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user with low-privilege access to the application. Attacker crafts GET, DELETE, RENAME, or EXECUTE API requests with URL-encoded forward slashes (%2F) in the {fileName} parameter to traverse outside the DAGs directory and access arbitrary files.

Impact

The CVSS 3.1 score of 8.1 reflects network-accessible (AV:N), low complexity (AC:L) attacks requiring low privileges (PR:L) with high confidentiality and integrity impact. However, real-world risk is moderated by several factors: authentication is enabled by default since v2.0.0 (reducing the attack surface to authenticated users), the vulnerability only affects YAML files rather than arbitrary file types, and there's no evidence of active exploitation (not in KEV). The availability of detailed proof-of-concept code increases immediate risk for internet-exposed instances. EPSS data is not available for this recent CVE, but similar authenticated path traversal vulnerabilities typically show moderate exploitation probability when PoC is public.

Exploit ScenarioDerived

An authenticated attacker sends a crafted HTTP request to the dagu API with a URL-encoded path traversal payload like GET /dags/..%2F..%2Fetc%2Fkubernetes%2Fsecrets.yaml/spec to read sensitive configuration files outside the intended directory. Since proof-of-concept code is publicly available and the attack requires only basic authentication with no special privileges, any user with API access can exploit this vulnerability. In environments where dagu runs with elevated permissions or has access to sensitive YAML configurations, attackers could extract database credentials, API keys, or even execute malicious workflows if they can traverse to writable locations.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 3.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 19, 2026

Path traversal in Apple and Kubernetes DAG management APIs allows authenticated attackers to access arbitrary files outside the intended directory by injecting URL-encoded forward slashes into file name parameters on GET, DELETE, RENAME, and EXECUTE endpoints. The vulnerability affects systems where a previous patch (CVE-2026-27598) only secured the CREATE endpoint while leaving other API functions unprotected. An attacker with valid credentials can read, modify, or execute unintended DAG files on the affected system.

Earlier versions of this analysis (1)
v1 Mar 19, 2026 - 20:00 CVSS 8.1

A path traversal vulnerability in dagu workflow orchestrator allows authenticated users to read, delete, or execute arbitrary YAML files on the server filesystem through unsafe handling of URL-encoded path separators in API endpoints. The vulnerability affects versions 2.0.0 through 2.3.0 and enables attackers to access sensitive files like Kubernetes secrets or application configurations stored as YAML, with proof-of-concept code publicly available. While CVSS rates this as 8.1 (High), real-world risk depends on authentication configuration and whether sensitive YAML files exist on the target system.

RemediationAI

Apply the vendor patch from commit 7d07fda8f9de3ae73dfb081ccd0639f8059c56bb when released, which adds proper path validation to the locateDAG function. Until patching is possible, minimize risk by ensuring authentication is enabled (auth.mode should not be set to 'none'), restricting network access to the dagu API through firewall rules or reverse proxy ACLs, and auditing the filesystem for sensitive YAML files that could be exposed. Monitor the vendor advisory at https://github.com/dagu-org/dagu/security/advisories/GHSA-ph8x-4jfv-v9v8 for the official patched version announcement.

Affected VersionsENISA

dagu 2.0.0, < 2.3.1
fast-xml-parser 4.0.0-beta.3, < 5.5.7
CMS Commander – Manage Multiple Sites * ≤2.288
commonmark 2.3.0, < 2.8.2

Affected Packages

go github.com/dagu-org/dagu fix: 1.30.4-0.20260319093346-7d07fda8f9de
euvd cms_commander_manage_multiple_sites no fix
euvd commonmark_2_3_0 fix: 2.8.2
euvd dagu_2_0_0 fix: 2.3.1
euvd fast_xml_parser_4_0_0_beta_3 fix: 5.5.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability (CWE-22: Path Traversal) exists in the dagu workflow automation tool, specifically in the locateDAG function within internal/persis/filedag/store.go, which processes file paths without proper validation when handling HTTP requests through the Chi v5 router. The flaw occurs because URL-encoded forward slashes (%2F) in the {fileName} parameter are decoded by the oapi-codegen runtime but not validated before being passed to filesystem operations, allowing traversal outside the intended DAGs directory. This affects the Go package github.com/dagu-org/dagu as identified by the CPE, where the incomplete fix for CVE-2026-27598 only addressed the CREATE endpoint while leaving GET, DELETE, RENAME, and EXECUTE endpoints vulnerable.

Know when macOS gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
SUSE HIGH

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Mar 19, 2026 - 20:00 nvd
Patch available
CVE Published
Mar 19, 2026 - 19:25 nvd
HIGH 8.1

DescriptionGitHub Advisory

The fix for CVE-2026-27598 (commit e2ed589, PR #1691) added ValidateDAGName to CreateNewDAG and rewrote generateFilePath to use filepath.Base. This patched the CREATE path. The remaining API endpoints - GET, DELETE, RENAME, EXECUTE - all pass the {fileName} URL path parameter to locateDAG without calling ValidateDAGName. %2F-encoded forward slashes in the {fileName} segment traverse outside the DAGs directory.

Vulnerable code

internal/persis/filedag/store.go, lines 508-513:

go
func (store *Storage) locateDAG(nameOrPath string) (string, error) {
    if strings.Contains(nameOrPath, string(filepath.Separator)) {
        foundPath, err := findDAGFile(nameOrPath)
        if err == nil {
            return foundPath, nil  // returns arbitrary resolved path
        }
    }
    // ...safe searchPaths branch follows

findDAGFile resolves the path with filepath.Abs and checks only that the file exists with a YAML extension. No containment check against baseDir.

Chi v5 routes using r.URL.RawPath when set. The pattern /dags/{fileName}/spec captures ..%2F..%2Fetc%2Ftarget.yaml as a single path segment. The oapi-codegen runtime calls url.PathUnescape, producing ../../etc/target.yaml. This decoded string reaches locateDAG with the / separator intact.

Go's net/http.ServeMux would normally redirect paths containing .., but dagu binds the chi mux directly to &http.Server{Handler: r} (server.go:833-834), so no path cleaning fires.

Affected endpoints

The three confirmed impacts via locateDAG:

EndpointImpact
GET /dags/{fileName}/specArbitrary .yaml/.yml file read (os.ReadFile)
DELETE /dags/{fileName}Arbitrary .yaml/.yml file delete (os.Remove)
POST /dags/{fileName}/startLoad arbitrary YAML, execute as workflow

Same pattern affects all other {fileName} endpoints: /dag-runs, /dag-runs/{id}, /rename, /start-sync, /enqueue, and webhook handlers. UpdateDAGSpec is incidentally blocked by DAG name validation during YAML parsing - not a security check, just data integrity validation that happens to reject /.

PoC

Store-level (dagu v2.0.2, Go 1.26, macOS; locateDAG unchanged through v2.3.0):

go
func TestLocateDAGPathTraversal(t *testing.T) {
    baseDir, _ := os.MkdirTemp("", "bd")
    defer os.RemoveAll(baseDir)
    outsideDir, _ := os.MkdirTemp("", "od")
    defer os.RemoveAll(outsideDir)

    store := filedag.New(baseDir, filedag.WithSkipExamples(true))
    ctx := context.Background()
    store.Create(ctx, "legit", []byte("name: legit\nsteps:\n  - name: s\n    command: echo ok\n"))

    target := filepath.Join(outsideDir, "secret.yaml")
    os.WriteFile(target, []byte("password: hunter2\ndb_host: prod-db.internal\n"), 0644)

    rel, _ := filepath.Rel(baseDir, target)
    spec, _ := store.GetSpec(ctx, rel)
    fmt.Println(spec)
}

Output:

baseDir:    /tmp/bd1816472583
targetFile: /tmp/od3906487343/secret.yaml
traversal:  ../od3906487343/secret.yaml

=== GetSpec (arbitrary file read) ===
SUCCESS: read file outside baseDir
Content:
password: hunter2
db_host: prod-db.internal

=== Delete (arbitrary file delete) ===
SUCCESS: deleted /tmp/od3906487343/important.yaml

HTTP-level (chi v5.2.2):

go
r := chi.NewRouter()
r.Get("/dags/{fileName}/spec", func(w http.ResponseWriter, r *http.Request) {
    raw := chi.URLParam(r, "fileName")
    decoded, _ := url.PathUnescape(raw)
    fmt.Fprintf(w, "raw=%s\ndecoded=%s\n", raw, decoded)
})

req := httptest.NewRequest("GET", "/dags/..%2F..%2Fetc%2Ftarget.yaml/spec", nil)
w := httptest.NewRecorder()
r.ServeHTTP(w, req)

Output:

path: /dags/..%2F..%2Fetc%2Fpasswd/spec
status: 200
raw=..%2F..%2Fetc%2Fpasswd
decoded=../../etc/passwd

Chi captures ..%2F..%2Fetc%2Fpasswd as one path segment via RawPath, oapi-codegen decodes %2F to /. Confirmed with chi v5.2.2.

Affected versions

  • v2.0.0 through v2.3.0 (current latest, checked 2026-03-18).
  • The locateDAG function with the filepath.Separator code path was introduced in commit 1557b14f (PR #1573) as part of the v2.0.0 rewrite.
  • The CVE-2026-27598 fix (e2ed589) also landed in v2.0.0 - it patched CreateNewDAG but didn't address the new locateDAG code path that was introduced in the same release.

Suggested fix

Add path containment to locateDAG rather than sprinkling ValidateDAGName across every handler. Reject names containing path separators for HTTP-facing callers. If the separator code path is needed for internal worker communication (PR #1573), split locateDAG into a validated public method (HTTP handlers) and an internal method (trusted callers only).

Impact

An authenticated user (or any user if auth.mode=none) can read or delete any .yaml/.yml file on the server filesystem that the process can access. K8s secrets stored as YAML, app configs, other DAG files.

The execute endpoints also traverse via locateDAG, loading the target YAML as a DAG definition. If the file contains valid DAG syntax with shell commands, those commands execute as the dagu process user. I haven't verified this end-to-end since it requires a target file with DAG-compatible structure, but the code path is the same locateDAG call confirmed above.

Auth is enabled by default since PR #1688 (v2.0.0), but exploitable by any authenticated user regardless of role - the DAG read/delete paths don't enforce RBAC granularity. Pre-v2.0.0 deployments or those with auth.mode=none are exploitable without credentials.

Executive ViewAI

Why It Matters

A path traversal vulnerability in DAG file handling allows authenticated users to read, delete, or execute arbitrary YAML files outside the intended DAGs directory, potentially exposing sensitive configurations or enabling unauthorized code execution. This affects all API endpoints (GET, DELETE, RENAME, EXECUTE) and requires immediate patching to prevent data exfiltration or system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls restricting API calls to trusted sources; (2) Deploy WAF rules blocking URL-encoded forward slashes (%2F) in the {fileName} parameter; (3) Restrict file system permissions on configuration directories to limit exposure scope; (4) Disable non-CREATE API endpoints (GET, DELETE, RENAME, EXECUTE) if operationally feasible until patch is applied; (5) Enable and monitor audit logging for DAG file access attempts.

Threat Intelligence Overview

EPSS Score
3.0%
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 3.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in macOS

View all
CVE-2025-34089 CRITICAL POC
9.3 Jul 03

An unauthenticated remote code execution vulnerability exists in Remote for Mac, a macOS remote control utility develope

CVE-2026-86950 HIGH POC
8.8 Sep 28

Out-of-bounds write in Apple's iOS, iPadOS, and macOS file-parsing code lets remote attackers achieve arbitrary code exe

CVE-2026-20700 HIGH POC
7.8 Feb 11

Apple's kernel across all platforms (iOS, macOS, watchOS, visionOS, tvOS) contains a memory corruption vulnerability (CV

CVE-2022-48618 HIGH
7.0 Jan 09

The issue was addressed with improved checks. Rated high severity (CVSS 7.0). Actively exploited in the wild (cisa kev)

CVE-2024-27822 HIGH POC
7.8 May 14

A logic issue was addressed with improved restrictions. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2023-22809 HIGH POC
7.8 Jan 18

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environmen

CVE-2022-46689 HIGH POC
7.0 Dec 15

A race condition was addressed with additional validation. Rated high severity (CVSS 7.0), this vulnerability is no auth

CVE-2022-32845 CRITICAL POC
10.0 Sep 23

This issue was addressed with improved checks. Rated critical severity (CVSS 10.0), this vulnerability is remotely explo

CVE-2021-44790 CRITICAL POC
9.8 Dec 20

A carefully crafted request body can cause a buffer overflow in the mod_lua multipart parser (r:parsebody() called from

CVE-2025-52841 HIGH POC
8.8 Jul 02

Cross-Site Request Forgery (CSRF) vulnerability in Laundry on Linux, MacOS allows to perform an Account Takeover. This i

CVE-2022-3970 HIGH POC
8.8 Nov 13

A vulnerability was found in LibTIFF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no aut

CVE-2022-0729 HIGH POC
8.8 Feb 23

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4440. Rated high severity (CVSS 8.8), this

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 Fixed
openSUSE Leap 15.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy