# CVE-2026-32282: TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix

- Severity: Medium 6.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-04-07T22:53:49.000Z
- Modified: 2026-11-23T21:12:29.869Z
- Also known as: GO-2026-4864, BIT-GOLANG-2026-32282
- Related: RHSA-2026:100485, RHSA-2026:100718, RHSA-2026:10217, RHSA-2026:10219, RHSA-2026:10704, RHSA-2026:11507, RHSA-2026:11514, RHSA-2026:11704, RHSA-2026:11711, RHSA-2026:11712, RHSA-2026:11863, RHSA-2026:14200, RHSA-2026:15980, RHSA-2026:16021, RHSA-2026:16024, RHSA-2026:16101, RHSA-2026:16875, RHSA-2026:17075, RHSA-2026:17084, RHSA-2026:18027, RHSA-2026:18032, RHSA-2026:19132, RHSA-2026:19133, RHSA-2026:19134, RHSA-2026:19135, RHSA-2026:19136, RHSA-2026:19144, RHSA-2026:19156, RHSA-2026:19350, RHSA-2026:19351, RHSA-2026:19352, RHSA-2026:19353, RHSA-2026:19369, RHSA-2026:19450, RHSA-2026:19550, RHSA-2026:19714, RHSA-2026:19715, RHSA-2026:19719, RHSA-2026:19720, RHSA-2026:19721, RHSA-2026:19722, RHSA-2026:19750, RHSA-2026:19839, RHSA-2026:20556, RHSA-2026:22141, RHSA-2026:22326, RHSA-2026:22450, RHSA-2026:22709, RHSA-2026:22713, RHSA-2026:22714, RHSA-2026:22937, RHSA-2026:23228, RHSA-2026:24337, RHSA-2026:24716, RHSA-2026:24761, RHSA-2026:24762, RHSA-2026:25999, RHSA-2026:27076, RHSA-2026:27732, RHSA-2026:28038, RHSA-2026:28046, RHSA-2026:28047, RHSA-2026:28385, RHSA-2026:34365, RHSA-2026:34366, RHSA-2026:34368, RHSA-2026:36796, RHSA-2026:39810, RHSA-2026:41019, RHSA-2026:47712, RHSA-2026:47714, RHSA-2026:47716, RHSA-2026:47719, RHSA-2026:47721, RHSA-2026:47722, RHSA-2026:47910, RHSA-2026:48036, RHSA-2026:48790, RHSA-2026:49509, RHSA-2026:49600, RHSA-2026:54191, RHSA-2026:54757, RHSA-2026:66401, RHSA-2026:67319, RHSA-2026:68504, RHSA-2026:69235, RHSA-2026:72276, RHSA-2026:72737, RHSA-2026:72805, RHSA-2026:7291, RHSA-2026:7385, RHSA-2026:87245, RHSA-2026:87246, RHSA-2026:88339, RHSA-2026:88340, RHSA-2026:88394, RHSA-2026:88395, RHSA-2026:90725, RHSA-2026:90726, RHSA-2026:90994, RHSA-2026:92217, RHSA-2026:95234, RHSA-2026:98794
- Weaknesses: CWE-59, CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- internal/syscall/unix: before 1.25.9; from 1.26.0-0 before 1.26.2
- stdlib (Go): before 1.25.9; from 1.26.0-0 before 1.26.2
- golang go: before 1.25.9; from 1.26.0 before 1.26.2
- golang (Bitnami): before 1.25.9; from 1.26.0-0 before 1.26.2

## Every score

- CISA-ADP: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/cl/763761> (fix, patch)
- <https://go.dev/issue/78293> (issue-tracking, report)
- <https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU> (discussion, mailing-list, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2026-4864> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32282> (web)

## Sources

- CVE List: [CVE-2026-32282](https://www.cve.org/CVERecord?id=CVE-2026-32282), CVE Terms of Use, modified 2026-04-13
- Go Vulnerability Database: [GO-2026-4864](https://pkg.go.dev/vuln/GO-2026-4864), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-32282](https://nvd.nist.gov/vuln/detail/CVE-2026-32282), Public domain, modified 2026-07-25
- Bitnami Vulnerability Database: [BIT-GOLANG-2026-32282](https://osv.dev/vulnerability/BIT-GOLANG-2026-32282), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-32282 · Whole record: https://cve.day/CVE-2026-32282.json · Rebuilt by cve.day 2026-11-25T22:59:18.201Z
