Vulnerability Report: GO-2026-4864
- CVE-2026-32282
- Affects: internal/syscall/unix
- Published: Apr 07, 2026
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 Packages
-
PathVersionsSymbols
-
before go1.25.9, from go1.26.0-0 before go1.26.2
Aliases
References
- https://go.dev/cl/763761
- https://go.dev/issue/78293
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
- https://vuln.go.dev/ID/GO-2026-4864.json
Credits
- Uuganbayar Lkhamsuren (https://github.com/uug4na)
Feedback
See anything missing or incorrect?
Suggest an edit to this report.