CVE-2026-39822
Published:July 08, 2026
Updated:July 20, 2026
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
github.com/golang/go (GO):
Affected version(s) >=go1.26.0 <go1.26.5Fix Suggestion:
Update to version go1.26.5github.com/golang/go (GO):
Affected version(s) >=v0.0.0-20260210192755-d90b98e65320 <v0.0.0-20260221183820-6435bf46c17dFix Suggestion:
Update to version v0.0.0-20260221183820-6435bf46c17dgithub.com/golang/go (GO):
Affected version(s) >=go1.25.0 <go1.25.12Fix Suggestion:
Update to version go1.25.12Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
UNIX Symbolic Link (Symlink) Following
EPSS
Base Score:
0.18