5.9Mittel

CVE-2026-39817Invoking "go tool pack" does not sanitize output paths in cmd/go

Go toolchain cmd/go Veröffentlicht: (vor 6 Monaten)

Beschreibung

The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

Schwachstellentyp (CWE): CWE-22CWE-787

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go toolchain cmd/go < 1.25.10, 1.26.0-0 – < 1.26.3
golang go < 1.25.10

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.25.10
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.26.0 < 1.26.3