Vulnerability Report: GO-2026-4979

standard library

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.

Affected Packages

  • Path
    Go Versions
    Symbols
  • before go1.25.10, from go1.26.0-0 before go1.26.3
    all symbols

Aliases

References

Credits

  • Harshit Gupta (Mr HAX)

Feedback

See anything missing or incorrect? Suggest an edit to this report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL