CVE-2026-32282

TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix

MEDIUM
6.4
CVSS Score
Published: April 8, 2026 at 01:06 AM UTC
Updated: July 25, 2026 at 10:21 AM UTC
2 products affected across 2 vendorsGoGo

Using internal/syscall/unix by Go standard library?

Get instant alerts when new vulnerabilities affect internal/syscall/unix - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.4
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.25.91.26.0 ≤ v < 1.26.2
Affected range stops below 1.25.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.26.2, so it looks safe — our inference, not a vendor statement
v < 1.25.91.26.0-0 ≤ v < 1.26.21.26.0-0
Affected range stops below 1.25.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.26.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

Patch
Source: cverecord
https://go.dev/cl/763761
Issue Tracking
Source: cverecord
https://go.dev/issue/78293
Mailing ListRelease Notes
Source: cverecord
https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
Vendor Advisory
Source: cverecord
https://pkg.go.dev/vuln/GO-2026-4864

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.4MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
HIGH
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card