Red Hat Enterprise Linux 10
Libvirt: swtpm privilege escalation via symlink following
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:11.10.0-12.9.el10_2
Fixed in 0:10.10.0-8.11.el10_0
Fixed in 0:4.5.0-36.el7_9.7
Fixed in 8040020260916092751.522a0ee4
Fixed in 8040020260916092751.522a0ee4
Fixed in 8060020260910092451.ad008a3a
Fixed in 8060020260910092451.ad008a3a
Fixed in 8080020260910092120.63b34585
Fixed in 8080020260910092120.63b34585
Fixed in 0:11.10.0-12.7.el9_8
Fixed in 0:9.0.0-10.16.el9_2
Fixed in 0:10.0.0-6.23.el9_4
Fixed in 0:10.10.0-7.18.el9_6
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:11.10.0-12.9.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:10.10.0-8.11.el10_0 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:4.5.0-36.el7_9.7 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260916092751.522a0ee4 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260916092751.522a0ee4 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260910092451.ad008a3a or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 8060020260910092451.ad008a3a or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260910092120.63b34585 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260910092120.63b34585 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:11.10.0-12.7.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:9.0.0-10.16.el9_2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:10.0.0-6.23.el9_4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:10.10.0-7.18.el9_6 or later.
Workaround
If virtual Trusted Platform Module (vTPM) functionality is not required, remove the <tpm> device definition from the domain XML configuration to prevent the vulnerable code path from being reached. To check if a domain uses vTPM: ``` virsh dumpxml <domain> | grep -A5 '<tpm' ``` To remove it, edit the domain XML and delete the <tpm> 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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:64773
- Vendor advisory access.redhat.com/errata/RHSA-2026:65515
- Vendor advisory access.redhat.com/errata/RHSA-2026:65516
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:65803
- Vendor advisory access.redhat.com/errata/RHSA-2026:68513
- Vendor advisory access.redhat.com/errata/RHSA-2026:68594
- Vendor advisory access.redhat.com/errata/RHSA-2026:69114
- Vendor advisory access.redhat.com/errata/RHSA-2026:69131
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.