Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

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)

0
Medium
Published: 08/13/2026 (08/13/2026, 00:00:00 UTC)
Source: GCVE Database
Product: libvirt

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Ubuntu:20.04:LTSmore threats →ghsa
libvirt
pkg:deb/ubuntu/libvirt?arch=source&distro=focal
Affected versions
=5.4.0-0ubuntu5=6.0.0-0ubuntu1=6.0.0-0ubuntu2=6.0.0-0ubuntu3=6.0.0-0ubuntu4=6.0.0-0ubuntu5=6.0.0-0ubuntu6=6.0.0-0ubuntu7=6.0.0-0ubuntu8=6.0.0-0ubuntu8.1=6.0.0-0ubuntu8.2=6.0.0-0ubuntu8.3=6.0.0-0ubuntu8.4=6.0.0-0ubuntu8.5=6.0.0-0ubuntu8.7=6.0.0-0ubuntu8.8=6.0.0-0ubuntu8.9=6.0.0-0ubuntu8.10=6.0.0-0ubuntu8.11=6.0.0-0ubuntu8.12=6.0.0-0ubuntu8.13=6.0.0-0ubuntu8.14=6.0.0-0ubuntu8.15=6.0.0-0ubuntu8.16=6.0.0-0ubuntu8.19=6.0.0-0ubuntu8.20
Ubuntu:22.04:LTSmore threats →ghsa
libvirt
pkg:deb/ubuntu/libvirt?arch=source&distro=jammy
Affected versions
=7.6.0-0ubuntu1=7.6.0-0ubuntu3=8.0.0-1ubuntu3=8.0.0-1ubuntu4=8.0.0-1ubuntu5=8.0.0-1ubuntu6=8.0.0-1ubuntu7=8.0.0-1ubuntu7.1=8.0.0-1ubuntu7.2=8.0.0-1ubuntu7.3=8.0.0-1ubuntu7.4=8.0.0-1ubuntu7.5=8.0.0-1ubuntu7.6=8.0.0-1ubuntu7.7=8.0.0-1ubuntu7.8=8.0.0-1ubuntu7.9=8.0.0-1ubuntu7.10=8.0.0-1ubuntu7.11=8.0.0-1ubuntu7.12=8.0.0-1ubuntu7.13=8.0.0-1ubuntu7.14=8.0.0-1ubuntu7.15=8.0.0-1ubuntu7.16=8.0.0-1ubuntu7.17=8.0.0-1ubuntu7.18
Ubuntu:24.04:LTSmore threats →ghsa
libvirt
pkg:deb/ubuntu/libvirt?arch=source&distro=noble
Affected versions
=9.6.0-1ubuntu1=9.6.0-1ubuntu2=10.0.0-1ubuntu1=10.0.0-2ubuntu1=10.0.0-2ubuntu5=10.0.0-2ubuntu7=10.0.0-2ubuntu8=10.0.0-2ubuntu8.1=10.0.0-2ubuntu8.2=10.0.0-2ubuntu8.3=10.0.0-2ubuntu8.4=10.0.0-2ubuntu8.5=10.0.0-2ubuntu8.6=10.0.0-2ubuntu8.7=10.0.0-2ubuntu8.8=10.0.0-2ubuntu8.9=10.0.0-2ubuntu8.10=10.0.0-2ubuntu8.11=10.0.0-2ubuntu8.12=10.0.0-2ubuntu8.13=10.0.0-2ubuntu8.14=10.0.0-2ubuntu8.15
Ubuntu:26.04:LTSmore threats →ghsa
libvirt
pkg:deb/ubuntu/libvirt?arch=source&distro=resolute
Affected versions
=11.6.0-1ubuntu3=11.6.0-1ubuntu5=11.6.0-1ubuntu6=11.6.0-1ubuntu7=11.6.0-1ubuntu8=12.0.0-1ubuntu3=12.0.0-1ubuntu5=12.0.0-1ubuntu5.1=12.0.0-1ubuntu5.2

Run 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

AILast updated: 08/15/2026, 06:13:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses