CVE-2026-27139
CVE-2026-27139 · FileInfo can escape from a Root in os
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 2.5 · Low · EPSS 0.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
os
- Versions
- ≥ 0, < 1.25.8: Affected (semver)
- ≥ 1.26.0-0, < 1.26.1: Affected (semver)
Update to 1.25.8; Update to 1.26.1
golang-1.19 Debian:12
- Versions
- 1.19.10-1
- 1.19.10-2
- 1.19.11-1
- 1.19.12-1
- 1.19.12-2
- 1.19.12-2~bpo11+1
- 1.19.12-2~bpo12+1
- 1.19.13-1
- 1.19.13-1~bpo11+1
- 1.19.13-1~bpo12+1
- 1.19.8-2
- 1.19.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.24 Debian:13
- Versions
- 1.24.12-1
- 1.24.13-1
- 1.24.13-2
- 1.24.4-1
- 1.24.4-2
- 1.24.4-3
- 1.24.4-4
- 1.24.7-1
- 1.24.8-1
- 1.24.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.26 Debian:14
- Versions
- 1.26.0-1
- 1.26~rc2-1
- 1.26~rc3-1
- 1.26~rc3-2
- Affected ranges
- ECOSYSTEM: < 1.26.1-1
Update to 1.26.1-1
golang-1.24 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.25 Ubuntu:22.04:LTS
- Versions
- 1.25.14-1~ubuntu0.22.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.26 Ubuntu:22.04:LTS
- Versions
- 1.26.8-1~ubuntu0.22.04.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.24 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.25 Ubuntu:24.04:LTS
- Versions
- 1.25.14-1~ubuntu0.24.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.26 Ubuntu:24.04:LTS
- Versions
- 1.26.8-1~ubuntu0.24.04.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.24 Ubuntu:25.10
- Versions
- 1.24.2-1
- 1.24.2-2
- 1.24.4-1
- 1.24.4-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.25 Ubuntu:25.10
- Versions
- 1.25.0-0ubuntu1
- 1.25.7-2~25.10.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.26 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.24 Ubuntu:26.04:LTS
- Versions
- 1.24.4-1ubuntu1
- 1.24.9-1
- 1.24.13-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.25 Ubuntu:26.04:LTS
- Versions
- 1.25.0-0ubuntu1
- 1.25.7-2
- 1.25.14-1~ubuntu0.26.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-1.26 Ubuntu:26.04:LTS
- Versions
- 1.26~rc3-2
- 1.26.0-1
- 1.26.8-1~ubuntu0.26.04.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published