Vulnerability · Published Apr 8, 2026 · Assigned by Go
CVE-2026-32282TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix
Medium 6.4
In plain English
A medium-severity security flaw in internal/syscall/unix from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
On Linux, if the target of Root.Chmod is replaced with a symlink while the chmod operation is in progress, Chmod can operate on the target of the symlink, even when the target lies outside the root. The Linux fchmodat syscall silently ignores the AT_SYMLINK_NOFOLLOW flag, which Root.Chmod uses to avoid symlink traversal. Root.Chmod checks its target before acting and returns an error if the target is a symlink lying outside the root, so the impact is limited to cases where the target is replaced with a symlink between the check and operation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | delve | 1.25.2-1.module_el8.10.0+4074+24330916 | ALSA-2026:10704 |
| AlmaLinux:10 | git-lfs | 3.7.1-4.el10_2 | ALSA-2026:19133 |
| AlmaLinux:8 | git-lfs | 3.4.1-10.el8_10 | ALSA-2026:16875 |
| AlmaLinux:9 | git-lfs | 3.7.1-4.el9_8 | ALSA-2026:19350 |
| AlmaLinux:9 | git-lfs | 3.6.1-8.el9_7.1 | ALSA-2026:14200 |
| AlmaLinux:10 | go-fdo-client | 1.0.0-4.el10_2 | ALSA-2026:22141 |
| AlmaLinux:10 | go-fdo-server | 1.0.1-2.el10_2 | ALSA-2026:22141 |
| AlmaLinux:10 | go-fdo-server-manufacturer | 1.0.1-2.el10_2 | ALSA-2026:22141 |
| AlmaLinux:10 | go-fdo-server-owner | 1.0.1-2.el10_2 | ALSA-2026:22141 |
| AlmaLinux:10 | go-fdo-server-rendezvous | 1.0.1-2.el10_2 | ALSA-2026:22141 |
| AlmaLinux:8 | go-toolset | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang-bin | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang-docs | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang-misc | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang-race | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang-src | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:8 | golang-tests | 1.25.9-1.module_el8.10.0+4167+2e2e20dd | ALSA-2026:10704 |
| AlmaLinux:10 | grafana | 10.2.6-26.el10_2 | ALSA-2026:19134 |
| AlmaLinux:8 | grafana | 9.2.10-30.el8_10 | ALSA-2026:11507 |
| AlmaLinux:9 | grafana | 10.2.6-22.el9_8 | ALSA-2026:19352 |
| AlmaLinux:10 | grafana-pcp | 5.3.0-5.el10_2 | ALSA-2026:19136 |
| AlmaLinux:8 | grafana-pcp | 5.1.1-14.el8_10 | ALSA-2026:11514 |
| AlmaLinux:9 | grafana-pcp | 5.1.1-15.el9_8 | ALSA-2026:19351 |
| AlmaLinux:10 | grafana-selinux | 10.2.6-26.el10_2 | ALSA-2026:19134 |
| AlmaLinux:8 | grafana-selinux | 9.2.10-30.el8_10 | ALSA-2026:11507 |
| AlmaLinux:9 | grafana-selinux | 10.2.6-22.el9_8 | ALSA-2026:19352 |
| AlmaLinux:10 | opentelemetry-collector | 0.144.0-2.el10_2 | ALSA-2026:19135 |
| AlmaLinux:9 | opentelemetry-collector | 0.144.0-2.el9_8 | ALSA-2026:19353 |
| AlmaLinux:8 | osbuild-composer | 101.5-1.el8_10.alma.1 | ALSA-2026:48790 |
| AlmaLinux:8 | osbuild-composer-core | 101.5-1.el8_10.alma.1 | ALSA-2026:48790 |
| AlmaLinux:8 | osbuild-composer-worker | 101.5-1.el8_10.alma.1 | ALSA-2026:48790 |
| AlmaLinux:10 | yggdrasil | 0.4.8-5.el10_1 | ALSA-2026:17075 |
| AlmaLinux:10 | yggdrasil-devel | 0.4.8-5.el10_1 | ALSA-2026:17075 |
| AlmaLinux:10 | yggdrasil-worker-package-manager | 0.2.3-7.el10_2 | ALSA-2026:25999 |
| Alpine:v3.23 | go | 1.25.9-r0 | ALPINE-CVE-2026-32282 |
| Alpine:v3.24 | go | 1.26.2-r0 | ALPINE-CVE-2026-32282 |
| Alpine:v3.24 | rclone | 1.73.5-r0 | ALPINE-CVE-2026-32282 |
| Debian:12 | golang-1.19 | no fix listed | DEBIAN-CVE-2026-32282 |
| Debian:13 | golang-1.24 | no fix listed | DEBIAN-CVE-2026-32282 |
| Debian:14 | golang-1.26 | 1.26.2-1 | DEBIAN-CVE-2026-32282 |
| Go | stdlib | 1.25.9, 1.26.2 | GO-2026-4864 |
| Rocky Linux:8 | delve | 0:1.25.2-1.module+el8.10.0+40035+ee0a7047 | RLSA-2026:10704 |
| Rocky Linux:10 | git-lfs | 0:3.7.1-4.el10_2 | RLSA-2026:19133 |
| Rocky Linux:8 | git-lfs | 0:3.4.1-10.el8_10 | RLSA-2026:16875 |
| Rocky Linux:9 | git-lfs | 0:3.7.1-4.el9_8 | RLSA-2026:19350 |
| Rocky Linux:9 | git-lfs | 0:3.6.1-8.el9_7.1 | RLSA-2026:14200 |
| Rocky Linux:10 | go-fdo-client | 0:1.0.0-4.el10_2 | RLSA-2026:22141 |
| Rocky Linux:10 | go-fdo-server | 0:1.0.1-2.el10_2 | RLSA-2026:22141 |
| Rocky Linux:10 | golang | 0:1.25.9-3.el10_1 | RLSA-2026:10217 |
| Rocky Linux:8 | golang | 0:1.25.9-1.module+el8.10.0+40168+6cb0ea60 | RLSA-2026:10704 |
| Rocky Linux:9 | golang | 0:1.25.9-1.el9_7 | RLSA-2026:10219 |
| Rocky Linux:10 | golang-github-openprinting-ipp-usb | 0:0.9.27-7.el10_2 | RLSA-2026:19144 |
| Rocky Linux:10 | grafana | 0:10.2.6-25.el10_1 | RLSA-2026:11712 |
| Rocky Linux:10 | grafana | 0:10.2.6-26.el10_2 | RLSA-2026:19134 |
| Rocky Linux:8 | grafana | 0:9.2.10-30.el8_10 | RLSA-2026:11507 |
| Rocky Linux:9 | grafana | 0:10.2.6-22.el9_8 | RLSA-2026:19352 |
| Rocky Linux:9 | grafana | 0:10.2.6-21.el9_7 | RLSA-2026:11711 |
| Rocky Linux:10 | grafana-pcp | 0:5.3.0-5.el10_2 | RLSA-2026:19136 |
| Rocky Linux:8 | grafana-pcp | 0:5.1.1-14.el8_10 | RLSA-2026:11514 |
| Rocky Linux:9 | grafana-pcp | 0:5.1.1-15.el9_8 | RLSA-2026:19351 |
| Rocky Linux:9 | grafana-pcp | 0:5.1.1-14.el9_7 | RLSA-2026:11704 |
| Rocky Linux:10 | image-builder | 0:52.1-1.el10_2.rocky.0.1 | RLSA-2026:22937 |
| Rocky Linux:9 | image-builder | 0:52.1-1.el9_8 | RLSA-2026:23228 |
| Rocky Linux:10 | opentelemetry-collector | 0:0.144.0-2.el10_2 | RLSA-2026:19135 |
| Rocky Linux:9 | opentelemetry-collector | 0:0.144.0-2.el9_8 | RLSA-2026:19353 |
| Rocky Linux:10 | osbuild-composer | 0:165.1-2.el10_2.rocky.0.1 | RLSA-2026:22450 |
| Rocky Linux:8 | osbuild-composer | 0:101.5-1.el8_10.rocky.0.6 | RLSA-2026:48790 |
| Rocky Linux:9 | osbuild-composer | 0:165.1-2.el9_8.rocky.0.1 | RLSA-2026:22714 |
| Rocky Linux:10 | yggdrasil | 0:0.4.9-5.el10_2 | RLSA-2026:24716 |
| Rocky Linux:10 | yggdrasil | 0:0.4.8-5.el10_1 | RLSA-2026:17075 |
| Rocky Linux:10 | yggdrasil-worker-package-manager | 0:0.2.3-7.el10_2 | RLSA-2026:25999 |
| Ubuntu:22.04:LTS | golang-1.17 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.18 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.20 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:24.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.22 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:24.04:LTS | golang-1.22 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:24.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:25.10 | golang-1.23 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:26.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:24.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:25.10 | golang-1.24 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:26.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:22.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:24.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:25.10 | golang-1.25 | no fix listed | UBUNTU-CVE-2026-32282 |
| Ubuntu:26.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2026-32282 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | internal/syscall/unix | 0 – before 1.25.91.26.0-0 – before 1.26.2 |