Live threats

All CVEs / Golang

CVE-2026-39822Golang Go

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
Jul 8, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-61
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.25.12 1.25.12 go get stdlib@v1.25.12
Go stdlib ≥ 1.26.0-0 < 1.26.5 1.26.5 go get stdlib@v1.26.5
Go stdlib ≥ 1.27.0-0 < 1.27.0-rc.2 1.27.0-rc.2 go get stdlib@v1.27.0-rc.2

Per OSV / GitHub Advisories (GO-2026-4970). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo≥ 1.24.0 < 1.25.12
golanggo≥ 1.26.0 < 1.26.5
golanggo1.27

Official advisories

Also: Red Hat (+13), SUSE (+15)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.