Vulnerability GO-2026-4970

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
4 months ago
July 07, 2026 at 09:34 PM UTC
Root escape via symlink plus trailing slash in 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.0-0 <1.26.5, >=1.27.0-0 <1.27.0-rc.2

Summary

Root escape via symlink plus trailing slash in os

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.

Impacted packages

Timeline

Published
4 months ago
July 07, 2026 at 09:34 PM UTC
Last Modified
6 hours ago
November 14, 2026 at 01:12 PM UTC