{"id":"CVE-2026-27139","published":"2026-03-06T21:28:14Z","modified":"2026-11-23T20:27:58Z","title":"FileInfo can escape from a Root in os","vendor":"Go standard library","product":"os","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0013,"percentile":0.01252,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk","tags":[]},{"url":"https://go.dev/issue/77827","tags":[]},{"url":"https://go.dev/cl/749480","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-4602","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":0.25},{"name":"CVSS severity","points":1.75}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"os","versions":["< 1.25.8",">= 1.26.0-0, < 1.26.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-09T14:53:55.467850Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.8",">=1.26.0-0, <1.26.1"],"patched":["1.25.8","1.26.1"],"from":["GO-2026-4602"],"provenance":"source"}],"summary":{"text":"The FileInfo values returned by File.ReadDir and File.Readdir in the Go standard library's os package, on Unix platforms, can reference files outside the Root in which the File was opened. An attacker with local access and low privileges can exploit this, with the attack requiring high complexity, no user interaction, and only the ability to read lstat metadata from arbitrary filesystem locations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:41Z"},"euvd":{"id":"EUVD-2026-10087","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68121","published":"2026-02-05","fixed":"1.26.0-rc.3","kev":false,"link":{"from":"CVE-2025-68121","to":"CVE-2026-27139","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.25.7","toFixed":"1.25.8","daysApart":29}]}},{"cve":"CVE-2026-25679","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27137","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27138","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27139","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27142","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-32280","published":"2026-04-08","fixed":"1.26.2","kev":false},{"cve":"CVE-2026-32281","published":"2026-04-08","fixed":"1.26.2","kev":false}],"package":"Go:stdlib"}}