CVE-2026-63622
Libvirt: swtpm privilege escalation via symlink following
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| libvirtRed Hat | unaffected: 0:11.10.0-12.9.el10_2 to < * | See vendor advisory |
| libvirtRed Hat | unaffected: 0:10.10.0-8.11.el10_0 to < * | See vendor advisory |
| libvirtRed Hat | unaffected: 0:4.5.0-36.el7_9.7 to < * | See vendor advisory |
| virt:rhelRed Hat | unaffected: 8040020260916092751.522a0ee4 to < * | See vendor advisory |
| virt:rhelRed Hat | unaffected: 8040020260916092751.522a0ee4 to < * | See vendor advisory |
| virt:rhelRed Hat | unaffected: 8060020260910092451.ad008a3a to < * | See vendor advisory |
| virt:rhelRed Hat | unaffected: 8060020260910092451.ad008a3a to < * | See vendor advisory |
| virt:rhelRed Hat | unaffected: 8080020260910092120.63b34585 to < * | See vendor advisory |
| virt:rhelRed Hat | unaffected: 8080020260910092120.63b34585 to < * | See vendor advisory |
| libvirtRed Hat | unaffected: 0:11.10.0-12.7.el9_8 to < * | See vendor advisory |
| libvirtRed Hat | unaffected: 0:9.0.0-10.16.el9_2 to < * | See vendor advisory |
| libvirtRed Hat | unaffected: 0:10.0.0-6.23.el9_4 to < * | See vendor advisory |
| libvirtRed Hat | unaffected: 0:10.10.0-7.18.el9_6 to < * | See vendor advisory |
| libvirtRed Hat | Default status: unaffected | See vendor advisory |
| virt:rhel/libvirtRed Hat | Default status: affected | See vendor advisory |
| libvirtRed Hat | Default status: unknown | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-63622
- https://access.redhat.com/errata/RHSA-2026:64773
- https://access.redhat.com/errata/RHSA-2026:65515
- https://access.redhat.com/errata/RHSA-2026:65516
- https://access.redhat.com/errata/RHSA-2026:65803
- https://access.redhat.com/errata/RHSA-2026:68513
- https://access.redhat.com/errata/RHSA-2026:68594
- https://access.redhat.com/errata/RHSA-2026:69114
- https://access.redhat.com/errata/RHSA-2026:69131
- https://access.redhat.com/errata/RHSA-2026:74424
- https://access.redhat.com/errata/RHSA-2026:75583
- https://access.redhat.com/security/cve/CVE-2026-63622
- https://bugzilla.redhat.com/show_bug.cgi?id=2513065