Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Go standard library os
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于在Unix平台上使用File.ReadDir或File.Readdir列出目录内容时,返回的FileInfo可能引用Root之外的文件,可能导致从文件系统任意位置读取元数据。

AI Predicted 5.3 Difficulty: Moderate EPSS 0.12% · P2

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-27139

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FileInfo can escape from a Root in os
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Google Go 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于在Unix平台上使用File.ReadDir或File.Readdir列出目录内容时,返回的FileInfo可能引用Root之外的文件,可能导致从文件系统任意位置读取元数据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Go standard library os 0 ~ 1.25.8 -

II. Public POCs for CVE-2026-27139

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-27139

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-27139 (1)

Vendor Advisories for CVE-2026-27139 (2)

Vendor Pages for CVE-2026-27139 (1)

Same Patch Batch · Go standard library · 2026-03-06 · 5 CVEs total

CVE-2026-25679 Incorrect parsing of IPv6 host literals in net/url
CVE-2026-27138 Panic in name constraint checking for malformed certificates in crypto/x509
CVE-2026-27137 Incorrect enforcement of email constraints in crypto/x509
CVE-2026-27142 URLs in meta content attribute actions are not escaped in html/template

IV. Related Vulnerabilities

V. Comments for CVE-2026-27139

No comments yet


Leave a comment