CVE-2026-39822

Published: July 11, 2026Last modified: July 14, 2026

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.

Severity score breakdown

ParameterValue
Base score7.8
Attack VectorLOCAL
Attack complexityLOW
Privileges requiredLOW
User interactionNONE
ScopeUNCHANGED
ConfidentialityHIGH
Integrity impactHIGH
Availability impactHIGH
VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Status

ProductReleasePackageStatus
Alpaquita Linux23 LTSgoFixed (1.25.12-r0)
25 LTSgoFixed (1.25.12-r0)
StreamgoFixed (1.26.5-r0)
Hardened Containers23 LTSgoFixed (1.25.12-r0)
25 LTSgoFixed (1.25.12-r0)
StreamgoFixed (1.26.5-r0)

References

ON THIS PAGE