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.
https://github.com/kun9497/assay
https://pkg.go.dev/vuln/GO-2026-4970
Published: 2026-07-08
Updated: 2026-10-25
Named Vulnerability: GO-2026-4970Named Vulnerability: GHSA-xcgv-8mv7-v8c7
Base Score: 6.8
Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C
Severity: Medium
Base Score: 7.8
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
EPSS: 0.00232