Skip to content
7.8 High

CVE-2026-39822 On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the…

Description

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 products and versions

Product Affected versions Fixed in
os 1.27 earliest → < 1.27.0-rc.2 1.27.0-rc.2
os 1.26 1.26.0-0 → < 1.26.5 1.26.5
os 1.25 earliest → < 1.25.12 1.25.12

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of os →
Track this CVE