CVE-2026-27139

FileInfo can escape from a Root in os

LOW
2.5
CVSS Score
Published: March 6, 2026 at 09:28 PM UTC
Updated: June 17, 2026 at 10:26 AM UTC
2 products affected across 2 vendorsGoOS

Using os by Go standard library?

Get instant alerts when new vulnerabilities affect os - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW2.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.25.81.26.0
v < 1.25.81.26.0-0 ≤ v < 1.26.11.26.0-0
Affected range stops below 1.25.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.26.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (4)

Issue Tracking
Source: cverecord
https://go.dev/issue/77827
Mailing List
Source: cverecord
https://go.dev/cl/749480
Vendor Advisory
Source: cverecord
https://pkg.go.dev/vuln/GO-2026-4602

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

2.5LOWCISA-ADP
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card