CVE-2026-32282 Details
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.
A vulnerability exists in the Go programming language's handling of the Root.Chmod function on Linux. If the target of a chmod operation is replaced with a symlink while the operation is ongoing, Chmod can inadvertently modify the target of the symlink, potentially affecting files outside the intended directory. This issue arises because the fchmodat system call, used by Chmod, ignores the AT_SYMLINK_NOFOLLOW flag, which is meant to prevent such symlink traversal. Although Chmod checks its target before execution and will return an error if the target is a symlink leading outside the root directory, the vulnerability can still be exploited if the target is changed to a symlink between the initial check and the execution of the command.
Users can upgrade to Go versions 1.26.2 or 1.25.9, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/763761 | [email protected] | Patch |
| https://go.dev/issue/78293 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU | [email protected] | Mailing ListRelease Notes |
| https://pkg.go.dev/vuln/GO-2026-4864 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.25.9 >= 1.26.0, < 1.26.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | Initial Analysis | [email protected] |
| Apr 13, 2026 | CVE Modified | CISA-ADP |
| Apr 8, 2026 | New CVE Received | [email protected] |