CVE-2026-39822 Root escape via symlink plus trailing slash in os
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Go standard library
os
영향 받는 버전
- 1.25.12 미만
- 1.26.0-0 이상 1.26.5 미만
- 1.27.0-0 이상 1.27.0-rc.2 미만
해결 버전
- 1.25.12 이상
- 1.26.5 이상
- 1.27.0-rc.2 이상