StraitOfVuln
Latest / CVE-2026-39822

CVE-2026-39822

HighCVSS 7.8 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-39822
Published / updated
08 Jul 2026, 17:17 UTC · last modified 25 Oct 2026, 17:10 UTC
Severity
HIGH
CVSS score
7.8 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Local
Affected vendor
Affected products
Go
Affected versions
Go: ≥ 1.24.0, < 1.25.12
Go: ≥ 1.26.0, < 1.26.5
Go: 1.27
Fixed versions
go 1.25.12, go 1.26.5
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.22% probability of exploitation in the next 30 days · 14% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (go 1.25.12, go 1.26.5) per the vendor advisory.
Source (CNA)
security@golang.org