Sceawere

Vulnerability Detail

CVE-2026-63622UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

libvirt virFileChownFiles Symlink Privilege Escalation

Vulnerability Metadata

Severity
High
Score / CVSS
7.8
Creation Date
5h ago
Vendor
Red Hat
Product
Red Hat Enterprise Linux 10
Attack Type
Improper Link Resolution Before File Access ('Link Following')
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Complexity
LOW

Narrative and Response

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.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "7.8",
  "pubDate": "2026-08-10T21:17:23.550Z",
  "pubdate": "2026-08-10T21:17:23.550Z",
  "executiveSummary": "A privilege escalation vulnerability exists in libvirt involving the virFileChownFiles() function.\nThe flaw allows a local attacker operating within a confined environment as the swtpm user to exploit a symlink-following behavior.\nBy strategically planting symbolic links within the swtpm state directory, an adversary can manipulate the root-privileged libvirt daemon into arbitrarily modifying file ownership to the swtpm user.\nThis unauthorized ownership reassignment breaks sandbox boundaries, enabling a confined low-privileged entity to gain control over arbitrary system files.\nThe risk implication is severe, as compromising file ownership facilitates local privilege escalation toward root-level capabilities.\nSuccessful exploitation requires local access and execution as the confined swtpm user, combined with the ability to create symbolic links in the targeted state directory prior to the daemon executing ownership modifications.",
  "technicalDetails": "The root cause of the vulnerability resides in the insecure handling of file paths and metadata operations within the virFileChownFiles() function in libvirt.\nWhen the libvirt daemon processes file ownership changes inside the swtpm state directory, the underlying file operations improperly resolve symbolic links rather than handling them safely.\nAn attacker running under the confined swtpm user identity initiates the attack flow by pre-creating a symbolic link pointing to a chosen arbitrary system file within the swtpm state directory.\nWhen the privileged root-level libvirt daemon interacts with the state directory, it traverses the attacker-controlled symbolic link during the execution of virFileChownFiles().\nInstead of restricting the ownership operation to the intended directory bounds, the daemon blindly follows the symlink and recursively or directly alters the ownership of the pointed-to arbitrary file, assigning ownership to the swtpm user.\nThe vulnerable component is the file ownership management routine within libvirt, specifically the virFileChownFiles() function.\nThe vulnerability requires local access with the specific execution context of the confined swtpm user.\nNo network exposure is required, as the attack vector is strictly local, leveraging filesystem interactions and local process privileges.\nPost-exploitation impact includes the swtpm user gaining file ownership control over arbitrary system files, which can be leveraged to facilitate broader system compromise and complete privilege escalation to root."
}
CVE-2026-63622: libvirt virFileChownFiles Symlink Privilege Escalation (HIGH Severity, CVSS: 7.8) - Sceawere