CVE-2026-32282

NameCVE-2026-32282
DescriptionOn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4vulnerable
golang-1.19 (PTS)bookworm1.19.8-2vulnerable
golang-1.24 (PTS)trixie1.24.4-1vulnerable
forky, sid1.24.13-2vulnerable
golang-1.25 (PTS)forky1.25.8-1vulnerable
sid1.25.9-1fixed
golang-1.26 (PTS)forky1.26.1-1vulnerable
sid1.26.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.15source(unstable)(unfixed)
golang-1.19source(unstable)(unfixed)
golang-1.24source(unstable)(unfixed)
golang-1.25source(unstable)1.25.9-1
golang-1.26source(unstable)1.26.2-1

Notes

https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
https://github.com/golang/go/issues/78293
Fixed by: https://github.com/golang/go/commit/b6176f459ad7b84ea7fb8daab983f4cef644a119 (go1.26.2)
Fixed by: https://github.com/golang/go/commit/4c79c4223e42b4727d1600e71ad6983cfb21f534 (go1.25.9)

Search for package or bug name: Reporting problems