golang-1.24, golang-1.25 and 1 more products — security advisory
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.
- Products
- golang-1.24, golang-1.25, golang-1.26
- Affected versions
- 1.24.13-2, 1.24.13-2~22.04.1, 1.24.13-2~22.04.2, 1.24.13-2~24.04.1, 1.24.2-1, 1.24.2-2, 1.24.4-1, 1.24.4-1ubuntu1, 1.24.4-1ubuntu1~22.04.1, 1.24.4-1ubuntu1~22.04.2, 1.24.4-1ubuntu1~24.04.1, 1.24.4-1ubuntu1~24.04.2, 1.24.9-1, 1.25.0-0ubuntu1, 1.25.14-1~ubuntu0.22.04.1, 1.25.14-1~ubuntu0.24.04.1, 1.25.14-1~ubuntu0.26.04.1, 1.25.7-2, 1.25.7-2~25.10.1, 1.26.0-1, 1.26.2-3, 1.26.4-1, 1.26.5-1, 1.26.6-2, 1.26.7-1, 1.26.8-1, 1.26.8-1~ubuntu0.22.04.2, 1.26.8-1~ubuntu0.24.04.2, 1.26.8-1~ubuntu0.26.04.2, 1.26.8-2, 1.26~rc3-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-27139
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:42 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-27139
golang-1.24
Fixed versions: Not specified
golang-1.25
Fixed versions: Not specified
golang-1.26
Fixed versions: Not specified
golang-1.24
Fixed versions: Not specified
golang-1.25
Fixed versions: Not specified
golang-1.26
Fixed versions: Not specified
golang-1.24
Fixed versions: Not specified
golang-1.25
Fixed versions: Not specified
golang-1.26
Fixed versions: Not specified
golang-1.24
Fixed versions: Not specified
golang-1.25
Fixed versions: Not specified
golang-1.26
Fixed versions: Not specified
Complete source record
{
"id": "20eb60cf37d2aa4141b9ce646dc49ff037cf617959c07f63405eac3820732454",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-27139",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-27139",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-27139",
"products": [
{
"name": {
"value": "golang-1.24",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.24.4-1ubuntu1~22.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.24.4-1ubuntu1~22.04.2",
"evidence": "/affected/0/versions"
},
{
"value": "1.24.13-2~22.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.24.13-2~22.04.2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-1.25",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.25.14-1~ubuntu0.22.04.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-1.26",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.26.8-1~ubuntu0.22.04.2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-1.24",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.24.4-1ubuntu1~24.04.1",
"evidence": "/affected/3/versions"
},
{
"value": "1.24.4-1ubuntu1~24.04.2",
"evidence": "/affected/3/versions"
},
{
"value": "1.24.13-2~24.04.1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-1.25",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.25.14-1~ubuntu0.24.04.1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "golang-1.26",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.26.8-1~ubuntu0.24.04.2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "golang-1.24",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.24.2-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.24.2-2",
"evidence": "/affected/6/versions"
},
{
"value": "1.24.4-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.24.4-1ubuntu1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "golang-1.25",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.25.0-0ubuntu1",
"evidence": "/affected/7/versions"
},
{
"value": "1.25.7-2~25.10.1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "golang-1.26",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.26.0-1",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.2-3",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.4-1",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.5-1",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.6-2",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.7-1",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.8-1",
"evidence": "/affected/8/versions"
},
{
"value": "1.26.8-2",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "golang-1.24",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.24.4-1ubuntu1",
"evidence": "/affected/9/versions"
},
{
"value": "1.24.9-1",
"evidence": "/affected/9/versions"
},
{
"value": "1.24.13-2",
"evidence": "/affected/9/versions"
}
]
},
{
"name": {
"value": "golang-1.25",
"evidence": "/affected/10/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.25.0-0ubuntu1",
"evidence": "/affected/10/versions"
},
{
"value": "1.25.7-2",
"evidence": "/affected/10/versions"
},
{
"value": "1.25.14-1~ubuntu0.26.04.1",
"evidence": "/affected/10/versions"
}
]
},
{
"name": {
"value": "golang-1.26",
"evidence": "/affected/11/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.26~rc3-2",
"evidence": "/affected/11/versions"
},
{
"value": "1.26.0-1",
"evidence": "/affected/11/versions"
},
{
"value": "1.26.8-1~ubuntu0.26.04.2",
"evidence": "/affected/11/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "UBUNTU-CVE-2026-27139",
"aliases": [
"UBUNTU-CVE-2026-27139"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.24",
"purl": "pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.24.4-1ubuntu1~22.04.1",
"1.24.4-1ubuntu1~22.04.2",
"1.24.13-2~22.04.1",
"1.24.13-2~22.04.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.24",
"binary_version": "1.24.13-2~22.04.2"
},
{
"binary_name": "golang-1.24-go",
"binary_version": "1.24.13-2~22.04.2"
},
{
"binary_name": "golang-1.24-src",
"binary_version": "1.24.13-2~22.04.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.25",
"purl": "pkg:deb/ubuntu/golang-1.25?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.25.14-1~ubuntu0.22.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.25",
"binary_version": "1.25.14-1~ubuntu0.22.04.1"
},
{
"binary_name": "golang-1.25-go",
"binary_version": "1.25.14-1~ubuntu0.22.04.1"
},
{
"binary_name": "golang-1.25-src",
"binary_version": "1.25.14-1~ubuntu0.22.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.26",
"purl": "pkg:deb/ubuntu/golang-1.26?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.26.8-1~ubuntu0.22.04.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.26",
"binary_version": "1.26.8-1~ubuntu0.22.04.2"
},
{
"binary_name": "golang-1.26-go",
"binary_version": "1.26.8-1~ubuntu0.22.04.2"
},
{
"binary_name": "golang-1.26-src",
"binary_version": "1.26.8-1~ubuntu0.22.04.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.24",
"purl": "pkg:deb/ubuntu/golang-1.24?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.24.4-1ubuntu1~24.04.1",
"1.24.4-1ubuntu1~24.04.2",
"1.24.13-2~24.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"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_name": "golang-1.24-src",
"binary_version": "1.24.13-2~24.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.25",
"purl": "pkg:deb/ubuntu/golang-1.25?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.25.14-1~ubuntu0.24.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.25",
"binary_version": "1.25.14-1~ubuntu0.24.04.1"
},
{
"binary_name": "golang-1.25-go",
"binary_version": "1.25.14-1~ubuntu0.24.04.1"
},
{
"binary_name": "golang-1.25-src",
"binary_version": "1.25.14-1~ubuntu0.24.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.26",
"purl": "pkg:deb/ubuntu/golang-1.26?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.26.8-1~ubuntu0.24.04.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.26",
"binary_version": "1.26.8-1~ubuntu0.24.04.2"
},
{
"binary_name": "golang-1.26-go",
"binary_version": "1.26.8-1~ubuntu0.24.04.2"
},
{
"binary_name": "golang-1.26-src",
"binary_version": "1.26.8-1~ubuntu0.24.04.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.24",
"purl": "pkg:deb/ubuntu/golang-1.24?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.24.2-1",
"1.24.2-2",
"1.24.4-1",
"1.24.4-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.24",
"binary_version": "1.24.4-1ubuntu1"
},
{
"binary_name": "golang-1.24-go",
"binary_version": "1.24.4-1ubuntu1"
},
{
"binary_name": "golang-1.24-src",
"binary_version": "1.24.4-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.25",
"purl": "pkg:deb/ubuntu/golang-1.25?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.25.0-0ubuntu1",
"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"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.26",
"purl": "pkg:deb/ubuntu/golang-1.26?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.26.0-1",
"1.26.2-3",
"1.26.4-1",
"1.26.5-1",
"1.26.6-2",
"1.26.7-1",
"1.26.8-1",
"1.26.8-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.26",
"binary_version": "1.26.8-2"
},
{
"binary_name": "golang-1.26-go",
"binary_version": "1.26.8-2"
},
{
"binary_name": "golang-1.26-src",
"binary_version": "1.26.8-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.24",
"purl": "pkg:deb/ubuntu/golang-1.24?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.24.4-1ubuntu1",
"1.24.9-1",
"1.24.13-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.24",
"binary_version": "1.24.13-2"
},
{
"binary_name": "golang-1.24-go",
"binary_version": "1.24.13-2"
},
{
"binary_name": "golang-1.24-src",
"binary_version": "1.24.13-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.25",
"purl": "pkg:deb/ubuntu/golang-1.25?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.25.0-0ubuntu1",
"1.25.7-2",
"1.25.14-1~ubuntu0.26.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.25",
"binary_version": "1.25.14-1~ubuntu0.26.04.1"
},
{
"binary_name": "golang-1.25-go",
"binary_version": "1.25.14-1~ubuntu0.26.04.1"
},
{
"binary_name": "golang-1.25-src",
"binary_version": "1.25.14-1~ubuntu0.26.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.26",
"purl": "pkg:deb/ubuntu/golang-1.26?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.26~rc3-2",
"1.26.0-1",
"1.26.8-1~ubuntu0.26.04.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.26",
"binary_version": "1.26.8-1~ubuntu0.26.04.2"
},
{
"binary_name": "golang-1.26-go",
"binary_version": "1.26.8-1~ubuntu0.26.04.2"
},
{
"binary_name": "golang-1.26-src",
"binary_version": "1.26.8-1~ubuntu0.26.04.2"
}
]
}
}
],
"modified": "2026-10-17T12:58:48.747751927Z",
"provider": "osv",
"upstream": [
"CVE-2026-27139"
],
"references": [
"https://ubuntu.com/security/CVE-2026-27139",
"https://www.cve.org/CVERecord?id=CVE-2026-27139",
"https://github.com/golang/go/issues/77827",
"https://go.dev/cl/749480",
"https://go.dev/issue/77827",
"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk",
"https://pkg.go.dev/vuln/GO-2026-4602"
]
},
"related_cves": [
{
"value": "CVE-2026-27139",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359078,
"published_at": "2026-03-06T22:16:00+00:00"
}