CVE-2026-32282

MEDIUM6.4EPSS 0.01%

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

發布日:2026/4/7修改日:2026/6/2

描述

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.

受影響套件(7)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

參考連結(6)