Go standard library · Go · published 2026-03-06
CVE-2026-27139FileInfo can escape from a Root in os
Routine No exploitation evidence; EPSS 0.2%.
CVE-2026-27139 is not known to be exploited in the wild. EPSS estimates a 0.2% chance of exploitation in the next 30 days, higher than 12% of all CVEs. This Go vulnerability: CVSS 2.5 (v3.1). Fixed upstream in Go 1.26.1, 1.25.8. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Go 1.26.1, 1.25.8.
Patch events
Language runtimeGo
Go security releases: 1.26.1, 1.25.8
Upgrade to
1.26.11.25.8Why: Vendor security release for server software (most severe: CVE-2026-25679).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.2% (13th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 2.5 (v3.1)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Go standard library os
0to before1.25.8(affected)1.26.0-0to before1.26.1(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.