ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-39822

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:13golang-1.24
All versions, no fix listed
Debian:14golang-1.26
All versions before 1.26.5-1 (fixed in 1.26.5-1)
Debian:14golang-1.27
All versions before 1.27~rc2-1 (fixed in 1.27~rc2-1)

References