Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-32282

Опубликовано: 08 апр. 2026
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

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 flaw was found in the internal/syscall/unix package in the Go standard library. If the target of the Root.Chmod function is replaced with a symbolic link during execution, specifically after Root.Chmod checks the target but before acting, the chmod operation will be performed on the file the symbolic link points to. This issue can bypass directory restrictions and lead to unauthorized permission changes on the filesystem.

Отчет

To exploit this issue, an attacker needs access to the system and the required permissions to create a symbolic link. Additionally, the attacker must swap the target file with a symbolic link in the exact window after the Root.Chmod function checks its target but before acting. Due to these conditions, this flaw has been rated with a moderate severity.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Assisted Installer for Red Hat OpenShift Container Platform 2redhat-user-workloads/applianceAffected
Builds for Red Hat OpenShiftredhat-user-workloads/openshift-builds-waiter-1-6Not affected
Builds for Red Hat OpenShiftredhat-user-workloads/openshift-builds-waiter-1-7Not affected
cert-manager Operator for Red Hat OpenShiftredhat-user-workloads/jetstack-cert-manager-1-17Affected
cert-manager Operator for Red Hat OpenShiftredhat-user-workloads/jetstack-cert-manager-1-18Affected
Confidential Compute Attestationredhat-user-workloads/osc-caaAffected
Confidential Compute Attestationredhat-user-workloads/trustee-operatorAffected
Deployment Validation Operatorredhat-user-workloads/deployment-validation-operatorAffected
ExternalDNS Operatoredo/external-dns-rhel8Affected
ExternalDNS Operatoredo/external-dns-rhel9Not affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-367
https://bugzilla.redhat.com/show_bug.cgi?id=2456336golang: internal/syscall/unix: Root.Chmod can follow symlinks out of the root

EPSS

Процентиль: 21%
0.00292
Низкий

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 6.4
ubuntu
3 месяца назад

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.

CVSS3: 6.4
nvd
3 месяца назад

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.

msrc
24 дня назад

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

CVSS3: 6.4
debian
3 месяца назад

On Linux, if the target of Root.Chmod is replaced with a symlink while ...

rocky
8 дней назад

Moderate: yggdrasil-worker-package-manager security update

EPSS

Процентиль: 21%
0.00292
Низкий

7.8 High

CVSS3