Vulnerability in Golang Go
CVE-2026-39822
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (13.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 13th percentile — 13.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Golang Go — versions 1.27
- Go Standard Library OS — versions 0, 1.26.0-0, 1.27.0-0
Weakness classification (CWE)
References
- go.dev/issue/79005 (Patch, Issue Tracking)
- groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc (Patch, Mailing List, Vendor Advisory)
- go.dev/cl/797880 (Patch)
- pkg.go.dev/vuln/GO-2026-4970 (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-39822?
- CVE-2026-39822 is a high-severity vulnerability in Golang Go, classified under UNIX Symbolic Link (Symlink) Following. CVSS score: 7.8/10. Published 2026-07-08.
- How severe is CVE-2026-39822?
- High severity. CVSS v3 base score is 7.8 out of 10.