CVE-2026-27139Golang Go
Low 2.5
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 15
- CVSS 3.1
- 2.5
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 6, 2026
- Updated
- Nov 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside 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.8 |
1.25.8 |
go get stdlib@v1.25.8 |
| Go | stdlib |
≥ 1.26.0-0 < 1.26.1 |
1.26.1 |
go get stdlib@v1.26.1 |
Per OSV / GitHub Advisories (GO-2026-4602). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.25.8 |
| golang | go | 1.26.0 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:3151-1 · Jul 21, 2026 High
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:3046-1 · Jul 15, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7385 · May 15, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7291 · May 14, 2026 Critical
Also: SUSE (+19)
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 Mailing List
- go.dev Issue Tracking
- groups.google.com Release Notes
- pkg.go.dev Vendor Advisory