# CVE-2026-31886: GO-2026-4693 - Dagu: Path Traversal via `dagRunId` in Inline DAG Execution in github.com/dagu-org/dagu

Source: https://junglewise.ai/threats/cve-2026-31886-dagu-path-traversal-via-dagrunid-in-inline-dag-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-13  
License: CC BY 4.0 with a link back

CVE-2026-31886 · Severity: low · CVSS 3.1 · Published 2026-03-13

Dagu: Path Traversal via `dagRunId` in Inline DAG Execution in github.com/dagu-org/dagu

Technologies: [github.com/dagu-org/dagu (Go)](https://junglewise.ai/threats/technologies/github-com-dagu-org-dagu). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-31886 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-31886 being exploited in the wild.

**How severe is CVE-2026-31886?** Low severity, with a CVSS score of 3.1, published 13 March 2026.

**Which products and versions are affected?** github.com/dagu-org/dagu (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=2.2.4.

**Is there a fix for CVE-2026-31886?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-31886?** Check whether you run github.com/dagu-org/dagu (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- github.com/dagu-org/dagu (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=2.2.4

## Identifiers

- CVE-2026-31886
- GHSA-m4q3-457p-hh2x
- GO-2026-4693

## Related threats

- [GO-2026-4785 - Dagu has an incomplete fix for : path traversal via %2F-encoded slashes in locateDAG in github.com/dagu-org/dagu](https://junglewise.ai/threats/cve-2026-33344-dagu-has-an-incomplete-fix-for-path-traversal-via-2f-encoded)
- [Dagu: Path traversal in DAG creation allows arbitrary YAML file write outside DAGs directory](https://junglewise.ai/threats/cve-2026-27598-dagu-path-traversal-in-dag-creation-allows-arbitrary-yaml-file)
- [GO-2026-4527 - Dagu affected by unauthenticated RCE via inline DAG spec in default configuration in github.com/dagu-org/dagu](https://junglewise.ai/threats/go-2026-4527-dagu-affected-by-unauthenticated-rce-via-inline-dag-spec-5aa89640)
- [Dagu affected by unauthenticated RCE via inline DAG spec in default configuration](https://junglewise.ai/threats/dagu-affected-by-unauthenticated-rce-via-inline-dag-spec-in-default-3b5e4504)
