CVE-2026-31886

CRITICALNVD 7.69.1
EchelonGraph scoreMEDIUM confidence

Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2026-03-13. NVD baseline CVSS 7.6; sources differ by 1.5.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
9.1EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.6Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Dagu is a workflow engine with a built-in Web user interface. Prior to 2.2.4, the dagRunId request field accepted by the inline DAG execution endpoints is passed directly into filepath.Join to construct a temporary directory path without any format validation. Go's filepath.Join resolves .. segments lexically, so a caller can supply a value such as ".." to redirect the computed directory outside the intended /tmp// path. A deferred cleanup function that calls os.RemoveAll on that directory then runs unconditionally when the HTTP handler returns, deleting whatever directory the traversal resolved to. With dagRunId set to "..", the resolved directory is the system temporary directory (/tmp on Linux). On non-root deployments, os.RemoveAll("/tmp") removes all files in /tmp owned by the dagu process user, disrupting every concurrent dagu run that has live temp files. On root or Docker deployments, the call removes the entire contents of /tmp, causing a system-wide denial of service. This vulnerability is fixed in 2.2.4.

CVSS v3
7.6
EG Score
9.1(medium)
EG Risk
46(Track)
EG Risk 46/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity91% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
36%
KEV
Not listed

Published

March 13, 2026

Last Modified

June 17, 2026

Advisory Details (2)

Auto-updated Aug 2, 2026
🔬 Proof of concept available. Patch available. Sources: github_commit, github.
github Patch Available🟡 PoC Available

Path Traversal via `dagRunId` in Inline DAG Execution · Advisory · dagucloud/dagu · GitHub

https://github.com/dagu-org/dagu/security/advisories/GHSA-m4q3-457p-hh2x
github_commit

commit 12c2e5395bd9 (dagu-org/dagu)

Fix landed in dagu-org/dagu commit 12c2e5395bd9 — awaiting tagged release

https://github.com/dagu-org/dagu/commit/12c2e5395bd9331d49ca103593edfd0db39c4f38

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
gogithub.com/dagu-org/dagughsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(1 across 1 ecosystem)
Go(1)
PackageVulnerable rangeFixed inDependents
github.com/dagu-org/dagu

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 6× in last 7d / 28× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-09-18 19:28 UTCEPSS rescore
  2. 2026-09-18 19:27 UTCEPSS rescore
  3. 2026-09-17 19:30 UTCEPSS rescore
  4. 2026-09-16 14:08 UTCEPSS rescore
  5. 2026-09-16 05:15 UTCEPSS rescore
  6. 2026-09-13 16:47 UTCEPSS rescore
  7. 2026-09-12 15:01 UTCEPSS rescore
  8. 2026-09-11 14:52 UTCEPSS rescore
  9. 2026-09-10 09:34 UTCEPSS rescore
  10. 2026-09-08 22:00 UTCEPSS rescore
  11. 2026-09-07 16:01 UTCEPSS rescore
  12. 2026-09-06 13:47 UTCEPSS rescore
  13. 2026-09-06 13:47 UTCEPSS rescore
  14. 2026-09-04 05:06 UTCEPSS rescore
  15. 2026-09-02 19:08 UTCOSV refresh
  16. 2026-09-02 14:11 UTCEPSS rescore
  17. 2026-09-01 13:53 UTCEPSS rescore
  18. 2026-09-01 04:39 UTCEPSS rescore
  19. 2026-09-01 04:39 UTCEPSS rescore
  20. 2026-08-30 19:17 UTCEPSS rescore
  21. 2026-08-30 01:22 UTCEPSS rescore
  22. 2026-08-28 21:41 UTCEPSS rescore
  23. 2026-08-27 14:25 UTCEPSS rescore
  24. 2026-08-26 14:46 UTCEPSS rescore
  25. 2026-08-25 13:49 UTCEPSS rescore
Show 71 more
  1. 2026-08-24 14:17 UTCEPSS rescore
  2. 2026-08-23 00:19 UTCEPSS rescore
  3. 2026-08-21 23:49 UTCEPSS rescore
  4. 2026-08-20 22:55 UTCEPSS rescore
  5. 2026-08-20 22:55 UTCEPSS rescore
  6. 2026-08-19 17:03 UTCEPSS rescore
  7. 2026-08-18 13:48 UTCEPSS rescore
  8. 2026-08-17 13:47 UTCEPSS rescore
  9. 2026-08-16 14:56 UTCEPSS rescore
  10. 2026-08-16 11:38 UTCEG score recompute
  11. 2026-08-16 11:38 UTCGHSA enrichment
  12. 2026-08-16 02:14 UTCEPSS rescore
  13. 2026-08-15 01:30 UTCEPSS rescore
  14. 2026-08-15 00:12 UTCGHSA enrichment
  15. 2026-08-14 20:04 UTCGHSA enrichment
  16. 2026-08-14 15:56 UTCGHSA enrichment
  17. 2026-08-14 11:48 UTCGHSA enrichment
  18. 2026-08-14 07:40 UTCEG score recompute
  19. 2026-08-14 07:40 UTCGHSA enrichment
  20. 2026-08-13 22:00 UTCEPSS rescore
  21. 2026-08-13 02:47 UTCGHSA enrichment
  22. 2026-08-12 22:38 UTCEG score recompute
  23. 2026-08-12 22:38 UTCGHSA enrichment
  24. 2026-08-12 13:50 UTCEPSS rescore
  25. 2026-08-12 01:48 UTCGHSA enrichment
  26. 2026-08-11 21:41 UTCEG score recompute
  27. 2026-08-11 21:40 UTCGHSA enrichment
  28. 2026-08-11 08:57 UTCGHSA enrichment
  29. 2026-08-11 04:49 UTCEG score recompute
  30. 2026-08-11 04:49 UTCGHSA enrichment
  31. 2026-08-11 00:00 UTCEPSS rescore
  32. 2026-08-10 12:17 UTCGHSA enrichment
  33. 2026-08-10 06:36 UTCGHSA enrichment
  34. 2026-08-10 02:05 UTCGHSA enrichment
  35. 2026-08-09 21:42 UTCGHSA enrichment
  36. 2026-08-09 17:35 UTCEG score recompute
  37. 2026-08-09 17:34 UTCGHSA enrichment
  38. 2026-08-09 13:46 UTCEPSS rescore
  39. 2026-08-09 13:26 UTCGHSA enrichment
  40. 2026-08-09 07:18 UTCEG score recompute
  41. 2026-08-09 07:18 UTCGHSA enrichment
  42. 2026-08-08 16:37 UTCEPSS rescore
  43. 2026-08-08 11:27 UTCGHSA enrichment
  44. 2026-08-08 06:26 UTCGHSA enrichment
  45. 2026-08-08 02:18 UTCGHSA enrichment
  46. 2026-08-07 22:08 UTCGHSA enrichment
  47. 2026-08-07 18:00 UTCEG score recompute
  48. 2026-08-07 18:00 UTCGHSA enrichment
  49. 2026-08-06 19:47 UTCEG score recompute
  50. 2026-08-06 19:47 UTCGHSA enrichment
  51. 2026-08-06 13:46 UTCEPSS rescore
  52. 2026-08-06 10:30 UTCGHSA enrichment
  53. 2026-08-06 06:02 UTCGHSA enrichment
  54. 2026-08-06 01:54 UTCEG score recompute
  55. 2026-08-06 01:54 UTCGHSA enrichment
  56. 2026-08-05 19:17 UTCEPSS rescore
  57. 2026-08-04 15:10 UTCEPSS rescore
  58. 2026-08-04 10:38 UTCEPSS rescore
  59. 2026-08-04 05:42 UTCGHSA enrichment
  60. 2026-08-04 01:10 UTCGHSA enrichment
  61. 2026-08-03 01:33 UTCGHSA enrichment
  62. 2026-08-02 21:25 UTCGHSA enrichment
  63. 2026-08-02 17:17 UTCEG score recompute
  64. 2026-08-02 17:17 UTCGHSA enrichment
  65. 2026-08-02 02:27 UTCEPSS rescore
  66. 2026-08-01 04:16 UTCEPSS rescore
  67. 2026-07-30 16:28 UTCEPSS rescore
  68. 2026-07-30 01:30 UTCEPSS rescore
  69. 2026-07-28 15:36 UTCEPSS rescore
  70. 2026-07-27 13:38 UTCEG score recompute
  71. 2026-07-27 13:38 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-31886?
CVE-2026-31886 is a critical vulnerability published on March 13, 2026. Dagu is a workflow engine with a built-in Web user interface. Prior to 2.2.4, the dagRunId request field accepted by the inline DAG execution endpoints is passed directly into filepath.Join to construct a temporary directory path without any format validation. Go's filepath.Join resolves ..…
When was CVE-2026-31886 disclosed?
CVE-2026-31886 was first published in the National Vulnerability Database on March 13, 2026, with the most recent update on June 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-31886 actively exploited?
CVE-2026-31886 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 63.9% of all scored CVEs.
What is the CVSS score of CVE-2026-31886?
CVE-2026-31886 has a CVSS v3 base score of 7.6 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.1.
How do I remediate CVE-2026-31886?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31886, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31886

Explore →

Is Your Infrastructure Affected by CVE-2026-31886?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.