Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.25.12 |
Related Weaknesses (CWE)
References
- https://go.dev/cl/797880Patch
- https://go.dev/issue/79005Issue TrackingPatch
- https://groups.google.com/g/golang-announce/c/OrmQE_Yp5ScMailing ListPatchVendor Advisory
- https://pkg.go.dev/vuln/GO-2026-4970Vendor Advisory
FAQ
What is CVE-2026-39822?
CVE-2026-39822 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ex...
How severe is CVE-2026-39822?
CVE-2026-39822 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-39822?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go.