๐Ÿ” CVE Alert

CVE-2026-32282

MEDIUM 6.4

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

CVSS Score
6.4
EPSS Score
0.0%
EPSS Percentile
1th

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.

Vendor go standard library
Product internal/syscall/unix
Published Apr 8, 2026
Last Updated Apr 13, 2026
Stay Ahead of the Next One

Get instant alerts for go standard library internal/syscall/unix

Be the first to know when new medium vulnerabilities affecting go standard library internal/syscall/unix are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Go standard library / internal/syscall/unix
0 < 1.25.9 1.26.0-0 < 1.26.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
go.dev: https://go.dev/cl/763761 go.dev: https://go.dev/issue/78293 groups.google.com: https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU pkg.go.dev: https://pkg.go.dev/vuln/GO-2026-4864

Credits

Uuganbayar Lkhamsuren (https://github.com/uug4na)