A flaw was found in libvirt. A local attacker, specifically a process running as the confined swtpm user, could exploit a symlink-following… (CVE-2026-63622)
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.
AI Analysis
Technical Summary
The vulnerability in libvirt (CVE-2026-63622) involves a symlink-following flaw in the virFileChownFiles() function. A local attacker with swtpm user confinement can plant symbolic links within the swtpm state directory, causing the root-level libvirt daemon to change ownership of arbitrary files to the swtpm user. This results in privilege escalation from the swtpm sandbox to root-level file ownership control. The issue affects numerous Ubuntu package versions of libvirt. The Red Hat advisory recommends removing the <tpm> device from domain XML configurations to prevent libvirt from spawning swtpm processes and invoking the vulnerable code path if vTPM is not needed. For domains requiring vTPM, applying the upstream fix is advised.
Potential Impact
Successful exploitation allows a local attacker confined to the swtpm user to escalate privileges by gaining root-level ownership control over arbitrary files. This can compromise confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score is 7.8 (high impact) with low attack complexity and no user interaction required.
Mitigation Recommendations
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. This blocks libvirt from spawning swtpm processes and calling the vulnerable function. For domains that require vTPM, this mitigation is not applicable, and applying the upstream fix should be prioritized. Patch status is not explicitly confirmed in the provided data; check vendor advisories for updates.
A flaw was found in libvirt. A local attacker, specifically a process running as the confined swtpm user, could exploit a symlink-following… (CVE-2026-63622)
Description
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.
CVSS v3.1
Score 7.8high
Affected software
pkg:deb/ubuntu/libvirt?arch=source&distro=focalpkg:deb/ubuntu/libvirt?arch=source&distro=jammypkg:deb/ubuntu/libvirt?arch=source&distro=noblepkg:deb/ubuntu/libvirt?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libvirt (CVE-2026-63622) involves a symlink-following flaw in the virFileChownFiles() function. A local attacker with swtpm user confinement can plant symbolic links within the swtpm state directory, causing the root-level libvirt daemon to change ownership of arbitrary files to the swtpm user. This results in privilege escalation from the swtpm sandbox to root-level file ownership control. The issue affects numerous Ubuntu package versions of libvirt. The Red Hat advisory recommends removing the <tpm> device from domain XML configurations to prevent libvirt from spawning swtpm processes and invoking the vulnerable code path if vTPM is not needed. For domains requiring vTPM, applying the upstream fix is advised.
Potential Impact
Successful exploitation allows a local attacker confined to the swtpm user to escalate privileges by gaining root-level ownership control over arbitrary files. This can compromise confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score is 7.8 (high impact) with low attack complexity and no user interaction required.
Mitigation Recommendations
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. This blocks libvirt from spawning swtpm processes and calling the vulnerable function. For domains that require vTPM, this mitigation is not applicable, and applying the upstream fix should be prioritized. Patch status is not explicitly confirmed in the provided data; check vendor advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-63622
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a7ff5e6bf8831d53987e137
Added to database: 08/15/2026, 05:15:18 UTC
Last enriched: 08/15/2026, 06:13:54 UTC
Last updated: 08/15/2026, 23:41:00 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.