CVE-2026-32282

TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix

Medium · published April 8, 2026

CVSS v3.1
6.4
EPSS
0%
Percentile
20.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00292 · 20.6th percentile
Published
2026-04-08T01:06Z
EPSS history
Timeline
  • 08 APR 01:06Z
    TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix
    cvelistv5