Описание
A flaw was found in libvirt. A local attacker, specifically a process running as the confined swtpm user, could exploit a symlink-following vulnerability in the virFileChownFiles() function. By planting a symbolic link within the swtpm state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the swtpm user. This allows for privilege escalation from the swtpm sandbox to root-level file ownership control.
Отчет
This vulnerability is rated as having an Important severity because a compromise of the unprivileged swtpm service can allow an attacker to bypass isolation boundaries and seize control of arbitrary host files with root privileges. In standard Red Hat Enterprise Linux deployments, virtualization hosts are only exposed if virtual machines are explicitly configured to use emulated TPM (swtpm) devices. Although triggering the condition requires local privileges under the dedicated tss account, successful exploitation circumvents the daemon sandbox, resulting in full host compromise.
Меры по смягчению последствий
If virtual Trusted Platform Module (vTPM) functionality is not required, remove the device definition from the domain XML configuration to prevent the vulnerable code path from being reached. To check if a domain uses vTPM:
To remove it, edit the domain XML and delete the block. This prevents libvirt from spawning swtpm processes and from calling virFileChownFiles() on the swtpm state directory during domain startup. Domains that require vTPM for guest OS functionality cannot use this mitigation and should prioritize applying the upstream fix.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | libvirt | Not affected | ||
| Red Hat Enterprise Linux 8 | virt:rhel/libvirt | Affected | ||
| Red Hat Enterprise Linux for NVIDIA 26 | libvirt | Out of support scope | ||
| Red Hat Enterprise Linux 10 | libvirt | Fixed | RHSA-2026:75583 | 05.10.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | libvirt | Fixed | RHSA-2026:64773 | 08.09.2026 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | libvirt | Fixed | RHSA-2026:69114 | 21.09.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | virt | Fixed | RHSA-2026:69131 | 21.09.2026 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | virt | Fixed | RHSA-2026:69131 | 21.09.2026 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | virt | Fixed | RHSA-2026:68594 | 17.09.2026 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | virt | Fixed | RHSA-2026:68594 | 17.09.2026 |
Показывать по
Дополнительная информация
Статус:
7.8 High
CVSS3
Связанные уязвимости
A flaw was found in libvirt. A local attacker, specifically a process running as the confined `swtpm` user, could exploit a symlink-following vulnerability in the `virFileChownFiles()` function. By planting a symbolic link within the `swtpm` state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the `swtpm` user. This allows for privilege escalation from the `swtpm` sandbox to root-level file ownership control.
A flaw was found in libvirt. A local attacker, specifically a process running as the confined `swtpm` user, could exploit a symlink-following vulnerability in the `virFileChownFiles()` function. By planting a symbolic link within the `swtpm` state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the `swtpm` user. This allows for privilege escalation from the `swtpm` sandbox to root-level file ownership control.
A flaw was found in libvirt. A local attacker, specifically a process ...
A flaw was found in libvirt. A local attacker, specifically a process running as the confined `swtpm` user, could exploit a symlink-following vulnerability in the `virFileChownFiles()` function. By planting a symbolic link within the `swtpm` state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the `swtpm` user. This allows for privilege escalation from the `swtpm` sandbox to root-level file ownership control.
Important: libvirt security, bug fix, and enhancement update
7.8 High
CVSS3