CVE-2026-39822Golang Go
High 7.8
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | ≥ 1.24.0 < 1.25.12 |
| golang | go | ≥ 1.26.0 < 1.26.5 |
| golang | go | 1.27 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.20.38 packages and security update · Red Hat · RHSA-2026:66375 · Nov 23, 2026 High
- Red Hat Security Advisory: OpenShift Container Platform 4.21.33 packages and security update · Red Hat · RHSA-2026:66350 · Nov 23, 2026 High
- Red Hat Security Advisory: golang security update · Red Hat · RHSA-2026:61253 · Nov 23, 2026 High
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- logcli-3.7.4-1.1 on GA media · SUSE · openSUSE-SU-2026:11393-1 · Jul 28, 2026 High
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:3151-1 · Jul 21, 2026 High
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.
- go.dev Patch
- go.dev Issue Tracking Patch
- groups.google.com Mailing List Patch Vendor Advisory
- pkg.go.dev Vendor Advisory