Home

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.

PUBLISHED Reserved 2026-03-11 | Published 2026-04-08 | Updated 2026-04-13 | Assigner Go

Problem types

CWE-61: UNIX Symbolic Link (Symlink) Following

Product status

Default status
unaffected

Any version before 1.25.9
affected

1.26.0-0 (semver) before 1.26.2
affected

Credits

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

References

go.dev/cl/763761

go.dev/issue/78293

groups.google.com/g/golang-announce/c/0uYbvbPZRWU

pkg.go.dev/vuln/GO-2026-4864

cve.org (CVE-2026-32282)

nvd.nist.gov (CVE-2026-32282)

Download JSON