CVE-2026-63622: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
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
A symlink-following vulnerability exists in libvirt's virFileChownFiles() function on Red Hat Enterprise Linux 10, exploitable by a local attacker running as the confined swtpm user. By planting a symbolic link in the swtpm state directory, the attacker can trick the root-level libvirt daemon into changing ownership of arbitrary files to the swtpm user, enabling privilege escalation from the swtpm sandbox to root-level file ownership control. The vulnerability is classified as CWE-59 (Improper Link Resolution Before File Access). The vendor advisory recommends removing the <tpm> device definition from the domain XML configuration to prevent libvirt from spawning swtpm processes and invoking the vulnerable function, if vTPM functionality is not needed. For domains requiring vTPM, an upstream fix should be prioritized. The CVSS v3.1 score is 7.8 (High) with local attack vector, low complexity, low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker with local access running as the confined swtpm user can escalate privileges to gain root-level file ownership control by exploiting the symlink-following flaw. This can lead to unauthorized modification or control of files at the root level, potentially compromising system confidentiality, integrity, and availability.
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 stops libvirt from spawning swtpm processes and calling the vulnerable virFileChownFiles() function. For domains that require vTPM, this mitigation is not applicable and applying the upstream fix should be prioritized. No official patch version is currently stated; check the vendor advisory for updates.
CVE-2026-63622: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
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
Red Hat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 6
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux for NVIDIA 26
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A symlink-following vulnerability exists in libvirt's virFileChownFiles() function on Red Hat Enterprise Linux 10, exploitable by a local attacker running as the confined swtpm user. By planting a symbolic link in the swtpm state directory, the attacker can trick the root-level libvirt daemon into changing ownership of arbitrary files to the swtpm user, enabling privilege escalation from the swtpm sandbox to root-level file ownership control. The vulnerability is classified as CWE-59 (Improper Link Resolution Before File Access). The vendor advisory recommends removing the <tpm> device definition from the domain XML configuration to prevent libvirt from spawning swtpm processes and invoking the vulnerable function, if vTPM functionality is not needed. For domains requiring vTPM, an upstream fix should be prioritized. The CVSS v3.1 score is 7.8 (High) with local attack vector, low complexity, low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker with local access running as the confined swtpm user can escalate privileges to gain root-level file ownership control by exploiting the symlink-following flaw. This can lead to unauthorized modification or control of files at the root level, potentially compromising system confidentiality, integrity, and availability.
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 stops libvirt from spawning swtpm processes and calling the vulnerable virFileChownFiles() function. For domains that require vTPM, this mitigation is not applicable and applying the upstream fix should be prioritized. No official patch version is currently stated; check the vendor advisory for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-17T13:06:13.759Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-63622","vendor":"Red Hat"}]
Threat ID: 6a7a3b18bf8831d53985675a
Added to database: 08/10/2026, 20:56:56 UTC
Last enriched: 08/10/2026, 21:11:22 UTC
Last updated: 09/23/2026, 13:47:47 UTC
Views: 53
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.