CVE-2026-27139 | FileInfo can escape from a Root in os

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.

Published: 2026-03-06 Last update: 2026-04-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-27139 is rated Low Risk (10.1/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-27139

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-07 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-27139

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
2.5 3.1 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.0 1.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2026-27139

GitHub Security Advisory for CVE-2026-27139

GHSA-rv83-g57w-fr8j · Severity: low — On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir...

OS Trackers for CVE-2026-27139

vendor priority summary link
alpine CVE-2026-27139: 1 source package rows (go); 95 state rows across 2 repos (3.23-community, edge-community); fixed 3, open 92. https://security.alpinelinux.org/vuln/CVE-2026-27139
debian not yet assigned CVE-2026-27139 not yet assigned priority: Debian including 5 source packages (golang-1.15, golang-1.19, golang-1.24, golang-1.25, golang-1.26), 7 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 3. https://security-tracker.debian.org/tracker/CVE-2026-27139
redhat low https://access.redhat.com/security/cve/CVE-2026-27139
suse medium https://www.suse.com/security/cve/CVE-2026-27139/
ubuntu medium CVE-2026-27139 medium priority: Ubuntu including 3 source packages (golang-1.24, golang-1.25, golang-1.26), 12 status rows across 4 suites (jammy, noble, questing, upstream): DNE 5, needs-triage 5, released 2. https://ubuntu.com/security/CVE-2026-27139

Affected software / configurations for CVE-2026-27139

Vendor Product Version Raw CPE
golang go < 1.25.8 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
golang go 1.26.0 cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*

References for CVE-2026-27139

cvelogic Threat Intelligence