Security mailing lists by PureSourceCode

CVE-2026-27139

LOW 2.5CVSS 3.1

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
6 Mar 2026
Last modified
23 Nov 2026
Assigned by
security@golang.org
NVD status
Analyzed
Weakness
CWE-22
Also known as
BIT-golang-2026-27139GO-2026-4602
Sources
NVDJSONCVE ListJSONOSV GO-2026-4602JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 LOW 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVE List CISA-ADP CVSS 3.1 LOW 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.25.8 1.25.8
NVD golang go
cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*
= 1.26.0
CVE List https://pkg.go.dev os < 1.25.8; >= 1.26.0-0, < 1.26.1 1.25.8, 1.26.1
OSV Go stdlib < 1.25.8; >= 1.26.0-0, < 1.26.1 1.25.8, 1.26.1

References

History

  • 25 Nov 2026 20:34 UTC · CVE List: first stored (published 6 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Mar 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 6 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.