Go standard library · Go · published 2026-04-08
CVE-2026-32282TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix
Routine No exploitation evidence; EPSS 0.3%.
CVE-2026-32282 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 22% of all CVEs. This Go vulnerability: CVSS 6.4 (v3.1), a successful attack gives total control of the component. Fixed upstream in Go 1.26.2, 1.25.9. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Go 1.26.2, 1.25.9.
Patch events
Language runtimeGo
Go security releases: 1.26.2, 1.25.9
Upgrade to
1.26.21.25.9Why: Vendor security release for server software (most severe: CVE-2026-27143).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.3% (23th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.4 (v3.1)CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Go standard library internal/syscall/unix
0to before1.25.9(affected)1.26.0-0to before1.26.2(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.