Vulnerability Report: GO-2026-4978

standard library

The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp"). An attacker with access to the temporary directory can create a symlink in one of these names, causing "go bug" to overwrite the target of the symlink.

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