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.

Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)0.3%top 77.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8delve1.25.2-1.module_el8.10.0+4074+24330916ALSA-2026:10704
AlmaLinux:10git-lfs3.7.1-4.el10_2ALSA-2026:19133
AlmaLinux:8git-lfs3.4.1-10.el8_10ALSA-2026:16875
AlmaLinux:9git-lfs3.7.1-4.el9_8ALSA-2026:19350
AlmaLinux:9git-lfs3.6.1-8.el9_7.1ALSA-2026:14200
AlmaLinux:10go-fdo-client1.0.0-4.el10_2ALSA-2026:22141
AlmaLinux:10go-fdo-server1.0.1-2.el10_2ALSA-2026:22141
AlmaLinux:10go-fdo-server-manufacturer1.0.1-2.el10_2ALSA-2026:22141
AlmaLinux:10go-fdo-server-owner1.0.1-2.el10_2ALSA-2026:22141
AlmaLinux:10go-fdo-server-rendezvous1.0.1-2.el10_2ALSA-2026:22141
AlmaLinux:8go-toolset1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang-bin1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang-docs1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang-misc1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang-race1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang-src1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:8golang-tests1.25.9-1.module_el8.10.0+4167+2e2e20ddALSA-2026:10704
AlmaLinux:10grafana10.2.6-26.el10_2ALSA-2026:19134
AlmaLinux:8grafana9.2.10-30.el8_10ALSA-2026:11507
AlmaLinux:9grafana10.2.6-22.el9_8ALSA-2026:19352
AlmaLinux:10grafana-pcp5.3.0-5.el10_2ALSA-2026:19136
AlmaLinux:8grafana-pcp5.1.1-14.el8_10ALSA-2026:11514
AlmaLinux:9grafana-pcp5.1.1-15.el9_8ALSA-2026:19351
AlmaLinux:10grafana-selinux10.2.6-26.el10_2ALSA-2026:19134
AlmaLinux:8grafana-selinux9.2.10-30.el8_10ALSA-2026:11507
AlmaLinux:9grafana-selinux10.2.6-22.el9_8ALSA-2026:19352
AlmaLinux:10opentelemetry-collector0.144.0-2.el10_2ALSA-2026:19135
AlmaLinux:9opentelemetry-collector0.144.0-2.el9_8ALSA-2026:19353
AlmaLinux:8osbuild-composer101.5-1.el8_10.alma.1ALSA-2026:48790
AlmaLinux:8osbuild-composer-core101.5-1.el8_10.alma.1ALSA-2026:48790
AlmaLinux:8osbuild-composer-worker101.5-1.el8_10.alma.1ALSA-2026:48790
AlmaLinux:10yggdrasil0.4.8-5.el10_1ALSA-2026:17075
AlmaLinux:10yggdrasil-devel0.4.8-5.el10_1ALSA-2026:17075
AlmaLinux:10yggdrasil-worker-package-manager0.2.3-7.el10_2ALSA-2026:25999
Alpine:v3.23go1.25.9-r0ALPINE-CVE-2026-32282
Alpine:v3.24go1.26.2-r0ALPINE-CVE-2026-32282
Alpine:v3.24rclone1.73.5-r0ALPINE-CVE-2026-32282
Debian:12golang-1.19no fix listedDEBIAN-CVE-2026-32282
Debian:13golang-1.24no fix listedDEBIAN-CVE-2026-32282
Debian:14golang-1.261.26.2-1DEBIAN-CVE-2026-32282
Gostdlib1.25.9, 1.26.2GO-2026-4864
Rocky Linux:8delve0:1.25.2-1.module+el8.10.0+40035+ee0a7047RLSA-2026:10704
Rocky Linux:10git-lfs0:3.7.1-4.el10_2RLSA-2026:19133
Rocky Linux:8git-lfs0:3.4.1-10.el8_10RLSA-2026:16875
Rocky Linux:9git-lfs0:3.7.1-4.el9_8RLSA-2026:19350
Rocky Linux:9git-lfs0:3.6.1-8.el9_7.1RLSA-2026:14200
Rocky Linux:10go-fdo-client0:1.0.0-4.el10_2RLSA-2026:22141
Rocky Linux:10go-fdo-server0:1.0.1-2.el10_2RLSA-2026:22141
Rocky Linux:10golang0:1.25.9-3.el10_1RLSA-2026:10217
Rocky Linux:8golang0:1.25.9-1.module+el8.10.0+40168+6cb0ea60RLSA-2026:10704
Rocky Linux:9golang0:1.25.9-1.el9_7RLSA-2026:10219
Rocky Linux:10golang-github-openprinting-ipp-usb0:0.9.27-7.el10_2RLSA-2026:19144
Rocky Linux:10grafana0:10.2.6-25.el10_1RLSA-2026:11712
Rocky Linux:10grafana0:10.2.6-26.el10_2RLSA-2026:19134
Rocky Linux:8grafana0:9.2.10-30.el8_10RLSA-2026:11507
Rocky Linux:9grafana0:10.2.6-22.el9_8RLSA-2026:19352
Rocky Linux:9grafana0:10.2.6-21.el9_7RLSA-2026:11711
Rocky Linux:10grafana-pcp0:5.3.0-5.el10_2RLSA-2026:19136
Rocky Linux:8grafana-pcp0:5.1.1-14.el8_10RLSA-2026:11514
Rocky Linux:9grafana-pcp0:5.1.1-15.el9_8RLSA-2026:19351
Rocky Linux:9grafana-pcp0:5.1.1-14.el9_7RLSA-2026:11704
Rocky Linux:10image-builder0:52.1-1.el10_2.rocky.0.1RLSA-2026:22937
Rocky Linux:9image-builder0:52.1-1.el9_8RLSA-2026:23228
Rocky Linux:10opentelemetry-collector0:0.144.0-2.el10_2RLSA-2026:19135
Rocky Linux:9opentelemetry-collector0:0.144.0-2.el9_8RLSA-2026:19353
Rocky Linux:10osbuild-composer0:165.1-2.el10_2.rocky.0.1RLSA-2026:22450
Rocky Linux:8osbuild-composer0:101.5-1.el8_10.rocky.0.6RLSA-2026:48790
Rocky Linux:9osbuild-composer0:165.1-2.el9_8.rocky.0.1RLSA-2026:22714
Rocky Linux:10yggdrasil0:0.4.9-5.el10_2RLSA-2026:24716
Rocky Linux:10yggdrasil0:0.4.8-5.el10_1RLSA-2026:17075
Rocky Linux:10yggdrasil-worker-package-manager0:0.2.3-7.el10_2RLSA-2026:25999
Ubuntu:22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2026-32282
Ubuntu:24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2026-32282
Ubuntu:24.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-32282
Ubuntu:24.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-32282
Ubuntu:25.10golang-1.23no fix listedUBUNTU-CVE-2026-32282
Ubuntu:26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-32282
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-32282
Ubuntu:25.10golang-1.24no fix listedUBUNTU-CVE-2026-32282
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-32282
Ubuntu:22.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-32282
Ubuntu:24.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-32282
Ubuntu:25.10golang-1.25no fix listedUBUNTU-CVE-2026-32282
Ubuntu:26.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-32282

Affected products (as reported)

VendorProductVersions
Go standard library internal/syscall/unix 0 – before 1.25.91.26.0-0 – before 1.26.2

References