ADVISORIES

Vulnerability

CVE-2026-39822

On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will open "symlink" even when "symlink" is a symbolic link pointing outside of the root.

9164 advisories report this vulnerability, across 14 ecosystems.

Advisories in Go

  • GO-2026-4970

    Root escape via symlink plus trailing slash in os

    CVE-2026-39822 Go Updated 23 November 2026

References