Medium severity · published Apr 8, 2026
CVE-2026-32282
TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix
6.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IN
internal/syscall/unix · Go standard library
before 1.25.9; 1.26.0-0 before 1.26.2 · source: vendor
GO
GO · Golang
before 1.25.9; 1.26.0 before 1.26.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-32282
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-32282
Patch
https://go.dev/cl/763761
Issue Tracking
https://go.dev/issue/78293
Mailing List
https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
Vendor Advisory
https://pkg.go.dev/vuln/GO-2026-4864
