Time-of-check Time-of-use (TOCTOU) Race Condition in Go programming language - CVE-2026-32282

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Go programming language - CVE-2026-32282

Published: July 31, 2026


Vulnerability identifier: #VU140607
CSH Severity: Low
CVSS v4 BT: 1.9 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2026-32282
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to modify file permissions outside the intended root directory.

The vulnerability exists due to improper access control in Root.Chmod and internal/syscall/unix Fchmodat when handling a chmod operation on Linux. A local user can replace the target with a symlink during the check-and-operation window to modify file permissions outside the intended root directory.

Exploitation requires a race condition in which the target is swapped with a symlink while the chmod operation is in progress.


Affected software

Go programming language
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Development Tools Module
openSUSE Leap
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rhc-worker-playbook (Red Hat package)
yggdrasil-worker-package-manager (Red Hat package)
rhc (Red Hat package)
yggdrasil (Red Hat package)
gvisor-tap-vsock (Red Hat package)
golang-github-openprinting-ipp-usb (Red Hat package)
opentelemetry-collector (Red Hat package)
collectd-libpod-stats (Red Hat package)
golang-uber-multierr (Red Hat package)
libheif1-64bit-debuginfo
libheif1-64bit
libheif1-32bit
libheif1-32bit-debuginfo
libheif1
gdk-pixbuf-loader-libheif
libheif-devel
libheif-debugsource
gdk-pixbuf-loader-libheif-debuginfo
libheif1-debuginfo
skopeo-tests
skopeo
skopeo-doc
delve
golang (Red Hat package)
go-toolset
golang
golang-bin
golang-race
golang-docs
golang-tests
golang-misc
golang-src
go1.25-openssl-doc
go1.25-openssl-debuginfo
go1.25-openssl-race
go1.25-openssl
go1.25-doc
go1.25-race
go1.25
go1.26-openssl-doc
go1.26-openssl
go1.26-openssl-race
go1.26-doc
go1.26
go1.26-race
git-lfs (Red Hat package)
git-lfs
git-lfs-doc
etcd (Red Hat package)
go-srpm-macros
go-rpm-templates
go-rpm-macros-doc
go-rpm-macros
go-filesystem
grafana-pcp (Red Hat package)
grafana-pcp
grafana (Red Hat package)
grafana
grafana-selinux
image-builder (Red Hat package)
osbuild-composer (Red Hat package)
OpenShift Logging
Red Hat OpenStack

How to mitigate CVE-2026-32282

Install security update from vendor's website.

Go programming language - addressed in versions 1.25.9, 1.26.2
rhc-worker-playbook (Red Hat package) - addressed in versions 0.2.3-5.el10_0, 0.2.3-5.el10_1
yggdrasil-worker-package-manager (Red Hat package) - addressed in versions 0.2.3-6.el10_0, 0.2.3-7.el10_2
rhc (Red Hat package) - addressed in versions 0.2.5-7.el8_10, 0.2.7-1.el9_6.4
yggdrasil (Red Hat package) - addressed in versions 0.4.8-5.el10_1, 0.4.9-5.el10_2
gvisor-tap-vsock (Red Hat package) - update to 0.8.5-2.el10_0.1
golang-github-openprinting-ipp-usb (Red Hat package) - update to 0.9.27-3.el10_0.4
opentelemetry-collector (Red Hat package) - addressed in versions 0.144.0-2.el9_4, 0.144.0-2.el9_6, 0.144.0-2.el10_0
collectd-libpod-stats (Red Hat package) - update to 1.0.6-7.el9ost
golang-uber-multierr (Red Hat package) - update to 1.5.0-2.el9ost
libheif1-64bit-debuginfo - update to 1.12.0-150400.3.20.1
libheif1-64bit - update to 1.12.0-150400.3.20.1
libheif1-32bit - update to 1.12.0-150400.3.20.1
libheif1-32bit-debuginfo - update to 1.12.0-150400.3.20.1
libheif1 - update to 1.12.0-150400.3.20.1
gdk-pixbuf-loader-libheif - update to 1.12.0-150400.3.20.1
libheif-devel - update to 1.12.0-150400.3.20.1
libheif-debugsource - update to 1.12.0-150400.3.20.1
gdk-pixbuf-loader-libheif-debuginfo - update to 1.12.0-150400.3.20.1
libheif1-debuginfo - update to 1.12.0-150400.3.20.1
skopeo-tests - update to 1.18.2-1
skopeo - update to 1.18.2-1
skopeo-doc - update to 1.18.2-1
delve - update to 1.25.2-1.0.2
golang (Red Hat package) - addressed in versions 1.25.9-1.el9_2, 1.25.9-1.el9_6, 1.25.9-1.el10_0, 1.25.9-3.el10_1
go-toolset - update to 1.25.9-1.0.1
golang - update to 1.25.9-1.0.1
golang-bin - update to 1.25.9-1.0.1
golang-race - update to 1.25.9-1.0.1
golang-docs - update to 1.25.9-1.0.1
golang-tests - update to 1.25.9-1.0.1
golang-misc - update to 1.25.9-1.0.1
golang-src - update to 1.25.9-1.0.1
go1.25-openssl-doc - update to 1.25.9-150000.1.21.1
go1.25-openssl-debuginfo - update to 1.25.9-150000.1.21.1
go1.25-openssl-race - update to 1.25.9-150000.1.21.1
go1.25-openssl - update to 1.25.9-150000.1.21.1
go1.25-doc - update to 1.25.9-150000.1.35.1
go1.25-race - update to 1.25.9-150000.1.35.1
go1.25 - update to 1.25.9-150000.1.35.1
go1.26-openssl-doc - update to 1.26.2-150000.1.6.1
go1.26-openssl - update to 1.26.2-150000.1.6.1
go1.26-openssl-race - update to 1.26.2-150000.1.6.1
go1.26-doc - update to 1.26.2-150000.1.9.1
go1.26 - update to 1.26.2-150000.1.9.1
go1.26-race - update to 1.26.2-150000.1.9.1
git-lfs (Red Hat package) - addressed in versions 3.4.1-10.el8_10, 3.6.1-2.el9_6.4, 3.6.1-2.el10_0.4, 3.6.1-8.el9_7.1
git-lfs - update to 3.4.1-10.0.1
git-lfs-doc - update to 3.4.1-10.0.1
etcd (Red Hat package) - update to 3.4.26-9.5.el9ost
go-srpm-macros - update to 3.6.0-6
go-rpm-templates - update to 3.6.0-6
go-rpm-macros-doc - update to 3.6.0-6
go-rpm-macros - update to 3.6.0-6
go-filesystem - update to 3.6.0-6
grafana-pcp (Red Hat package) - addressed in versions 5.1.1-5.el9_2.1, 5.1.1-14.el8_10, 5.1.1-14.el9_6, 5.1.1-14.el9_7, 5.2.2-6.el10_0
grafana-pcp - update to 5.1.1-14
OpenShift Logging - update to 6.0.15
grafana (Red Hat package) - addressed in versions 9.0.9-12.el9_2, 9.2.10-27.el9_4, 9.2.10-30.el8_10, 10.2.6-24.el10_0, 10.2.6-25.el10_1
grafana - update to 9.2.10-30.0.1
grafana-selinux - update to 9.2.10-30.0.1
Red Hat OpenStack - update to 17.1
image-builder (Red Hat package) - update to 52.1-1.el10_2
osbuild-composer (Red Hat package) - addressed in versions 101.5-1.el8_10, 134.1-7.el10_0

External References

Related Security Bulletins