{"id":"UBUNTU-CVE-2026-27139","details":"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.","modified":"2026-09-23T18:46:19.249816845Z","published":"2026-03-06T22:16:00Z","upstream":["CVE-2026-27139"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-27139"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-27139"},{"type":"REPORT","url":"https://github.com/golang/go/issues/77827"},{"type":"REPORT","url":"https://go.dev/cl/749480"},{"type":"REPORT","url":"https://go.dev/issue/77827"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"},{"type":"REPORT","url":"https://pkg.go.dev/vuln/GO-2026-4602"}],"affected":[{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.4-1ubuntu1~22.04.1","1.24.4-1ubuntu1~22.04.2","1.24.13-2~22.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.13-2~22.04.1"},{"binary_name":"golang-1.24-go","binary_version":"1.24.13-2~22.04.1"},{"binary_name":"golang-1.24-src","binary_version":"1.24.13-2~22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}},{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.4-1ubuntu1~24.04.1","1.24.4-1ubuntu1~24.04.2","1.24.13-2~24.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.13-2~24.04.1"},{"binary_name":"golang-1.24-go","binary_version":"1.24.13-2~24.04.1"},{"binary_version":"1.24.13-2~24.04.1","binary_name":"golang-1.24-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}},{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.2-1","1.24.2-2","1.24.4-1","1.24.4-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.24","binary_version":"1.24.4-1ubuntu1"},{"binary_version":"1.24.4-1ubuntu1","binary_name":"golang-1.24-go"},{"binary_name":"golang-1.24-src","binary_version":"1.24.4-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}},{"package":{"name":"golang-1.25","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-1.25?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0-0ubuntu1","1.25.7-2~25.10.1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.25","binary_version":"1.25.7-2~25.10.1"},{"binary_name":"golang-1.25-go","binary_version":"1.25.7-2~25.10.1"},{"binary_name":"golang-1.25-src","binary_version":"1.25.7-2~25.10.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}},{"package":{"name":"golang-1.24","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-1.24?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.4-1ubuntu1","1.24.9-1","1.24.13-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.24.13-2","binary_name":"golang-1.24"},{"binary_name":"golang-1.24-go","binary_version":"1.24.13-2"},{"binary_name":"golang-1.24-src","binary_version":"1.24.13-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}},{"package":{"name":"golang-1.25","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-1.25?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.25.0-0ubuntu1","1.25.7-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.25","binary_version":"1.25.7-2"},{"binary_version":"1.25.7-2","binary_name":"golang-1.25-go"},{"binary_name":"golang-1.25-src","binary_version":"1.25.7-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}},{"package":{"name":"golang-1.26","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-1.26?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.26~rc3-2","1.26.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-1.26","binary_version":"1.26.0-1"},{"binary_name":"golang-1.26-go","binary_version":"1.26.0-1"},{"binary_name":"golang-1.26-src","binary_version":"1.26.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}