CVE-2026-31886: Schwachstelle in Dagu

Kritisch. 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/<name>/<id> path. A deferred cleanup function that calls os.RemoveAll on that...

Go, CWE-22

Ausnutzung
Nicht bestätigt
Schweregrad
9,1 von 10
Angriffsrisiko
Unbekannt
Korrektur
Korrigierte Version bekannt
Update-Frist
Keine Frist gesetzt

Details

Hinweis-ID
GHSA-m4q3-457p-hh2x
Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
Fehlerklasse
CWE-22
Veröffentlicht
13. März 2026
Letzte Änderung
17. Juni 2026
Ökosystem
Go

Betroffene Produkte

Betroffene Versionen und erste korrigierte Version

  • Dagu Vor 2.2.4. Behoben in 2.2.4

Betroffene Pakete

Anfällige Versionsbereiche und korrigierte Versionen

  • github.com/dagu-org/dagu Go, Betroffen: Bis 2.2.4. Keine korrigierte Version bekannt

Sicherheitshinweise

Hinweise von Herstellern und Sicherheitsstellen

Updates und Korrekturen

Updates, Commits und Versionshinweise

Weiter