CVE-2026-63622: Improper Link Resolution Before File Access ('Link Following') in Red Hat Red Hat Enterprise Linux 10
CVE-2026-63622 is a local privilege escalation vulnerability in libvirt on Red Hat Enterprise Linux 10. A process running as the confined swtpm user can exploit a symlink-following flaw in the virFileChownFiles() function to cause the root-level libvirt daemon to change ownership of arbitrary files to the swtpm user. This allows escalation from the swtpm sandbox to root-level file ownership control. The vulnerability affects the handling of symbolic links within the swtpm state directory. Mitigation is possible by removing the <tpm> device definition from the domain XML configuration if vTPM functionality is not required, preventing the vulnerable code path from being reached. Domains requiring vTPM must prioritize applying an upstream fix. No explicit patch version is stated in the advisory.
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
Description
CVE-2026-63622 is a local privilege escalation vulnerability in libvirt on Red Hat Enterprise Linux 10. A process running as the confined swtpm user can exploit a symlink-following flaw in the virFileChownFiles() function to cause the root-level libvirt daemon to change ownership of arbitrary files to the swtpm user. This allows escalation from the swtpm sandbox to root-level file ownership control. The vulnerability affects the handling of symbolic links within the swtpm state directory. Mitigation is possible by removing the <tpm> device definition from the domain XML configuration if vTPM functionality is not required, preventing the vulnerable code path from being reached. Domains requiring vTPM must prioritize applying an upstream fix. No explicit patch version is stated in the advisory.
CVSS v3.1
Score 7.8high
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
- Remediation Level
- null
- 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: 08/10/2026, 21:52:02 UTC
Views: 6
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.