cve.bz

CVE-2026-27139 golang go: Path traversal

2.5 lowEPSS 0.2%Fix available

Low (2.5) in golang go. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.25.8, 1.26.1.

On this page
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.

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27139 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27139?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27139?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27139 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library osbefore 1.25.8
Go standard library osfrom 1.26.0-0 before 1.26.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-4602Gostdlib<1.25.8
>=1.26.0-0 <1.26.1
1.25.8, 1.26.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2026-27139
Debian13golang-1.24no fix listedDEBIAN-CVE-2026-27139
Debian14golang-1.261.26.1-1DEBIAN-CVE-2026-27139
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSgolang-1.24, golang-1.25, golang-1.26no fix listedUBUNTU-CVE-2026-27139
Ubuntu25.10golang-1.24, golang-1.25no fix listedUBUNTU-CVE-2026-27139
Ubuntu26.10golang-1.26no fix listedUBUNTU-CVE-2026-27139
Red Hathummingbird:1golang1.25, golang1.25-bin, golang1.25-src and 4 more0:1.25.9-1.hum1RHSA-2026:7385
Red Hathummingbird:1golang1.26, golang1.26-bin, golang1.26-src and 4 more0:1.26.2-1.hum1RHSA-2026:7291
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.251.25.12-150000.1.44.1SUSE-SU-2026:2817-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.251.25.8-150000.1.32.1SUSE-SU-2026:0875-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morego1.261.26.1-150000.1.6.1SUSE-SU-2026:0876-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.25-openssl1.25.12-150000.1.27.1SUSE-SU-2026:3046-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.25-openssl1.25.8-150000.1.18.1SUSE-SU-2026:0947-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morego1.26-openssl1.26.1-150000.1.3.1SUSE-SU-2026:0993-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.25-openssl1.25.12-150600.13.21.1SUSE-SU-2026:3151-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.25-openssl1.25.8-150600.13.15.1SUSE-SU-2026:0977-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6go1.26-openssl1.26.1-150600.13.3.1SUSE-SU-2026:0976-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.251.25.12-160000.1.1SUSE-SU-2026:22643-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.251.25.8-160000.1.1SUSE-SU-2026:21200-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0go1.25-openssl1.25.12-160000.1.1SUSE-SU-2026:22638-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6go1.251.25.8-150000.1.32.1SUSE-SU-2026:0875-1
openSUSELeap 15.6go1.25-openssl1.25.8-150600.13.15.1SUSE-SU-2026:0977-1
openSUSELeap 15.6go1.261.26.1-150000.1.6.1SUSE-SU-2026:0876-1
openSUSELeap 15.6go1.26-openssl1.26.1-150600.13.3.1SUSE-SU-2026:0976-1
openSUSELeap 15.6govulncheck-vulndb0.0.20260317T205859-150000.1.152.1SUSE-SU-2026:1042-1
openSUSELeap 16.0go1.251.25.12-160000.1.1openSUSE-SU-2026:21324-1
openSUSELeap 16.0go1.251.25.8-160000.1.1openSUSE-SU-2026:20496-1
openSUSELeap 16.0go1.25-openssl1.25.12-160000.1.1openSUSE-SU-2026:21319-1
openSUSELeap 16.0go1.261.26.1-160000.1.1openSUSE-SU-2026:20342-1
openSUSELeap 16.0go1.26-openssl1.26.1-160000.1.1openSUSE-SU-2026:20537-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedgo1.251.25.8-1.1openSUSE-SU-2026:10310-1
1 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.23, v3.24go1.25.8-r0ALPINE-CVE-2026-27139
Azure Linux2golangno fix listedAZL-79532 AZL-79535
Azure Linux3golang1.2.58-1AZL-79541
Alpaquita23, 25go1.25.8-r0BELL-CVE-2026-27139
Alpaquitastreamgo1.26.1-r0BELL-CVE-2026-27139
BellSoft Hardened Containers23, 25go1.25.8-r0BELL-CVE-2026-27139
BellSoft Hardened Containersstreamgo1.26.1-r0BELL-CVE-2026-27139

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesgolang1-26-main-1.26.2-1.hum1Fixed 2026-04-09RHSA-2026:7291
Red Hat Hardened Imagesgolang1-25-main-1.25.9-1.hum1Fixed 2026-04-10RHSA-2026:7385
Red Hat OpenShift AI 3.4rhai/base-image-neuron-rhel9:1793042008Fixed 2026-10-27RHSA-2026:91248
Red Hat OpenShift AI 3.5rhai/base-image-neuron-rhel9:1793042008Fixed 2026-10-27RHSA-2026:91249
OpenShift Service Mesh 2openshift-golang-builder-containerFix deferred
OpenShift Service Mesh 3openshift-golang-builder-containerFix deferred
Red Hat Enterprise Linux 10golangFix deferred
Red Hat Enterprise Linux 8go-toolset:rhel8/golangFix deferred
Red Hat Enterprise Linux 9golangFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3golangFix deferred
Red Hat OpenShift Container Platform 4openshift-golang-builder-containerFix deferred
Red Hat OpenShift Virtualization 4openshift-golang-builder-containerFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27139.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON