CVE-2026-77159: UNIX Symbolic Link (Symlink) Following in Red Hat Red Hat Enterprise Linux 10
A symlink-following flaw was found in libvirt's qemuTPMEmulatorPrepareHost() function. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links. A local attacker with access to the swtpm account can replace the logfile with a symlink, causing libvirtd (running as root) to transfer ownership of an arbitrary file to the swtpm user.
AI Analysis
Technical Summary
This vulnerability involves a symlink-following flaw in libvirt's qemuTPMEmulatorPrepareHost() function on Red Hat Enterprise Linux 10. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links, allowing a local attacker with swtpm account access to replace the logfile with a symlink. This causes libvirtd, running with root privileges, to transfer ownership of arbitrary files to the swtpm user. The flaw has a CVSS v3.1 base score of 5.5 (medium severity) with an integrity impact but no confidentiality or availability impact. Red Hat advises ensuring SELinux is enabled and enforcing, which confines the swtpm process and limits the practical impact of this issue. No explicit patch or fixed version is stated in the advisory; mitigation relies on SELinux enforcement.
Potential Impact
The vulnerability allows a local attacker with swtpm account access to cause libvirtd (running as root) to change ownership of arbitrary files to the swtpm user via a symlink attack on the swtpm logfile. This impacts system integrity but does not affect confidentiality or availability. The practical impact is reduced if SELinux is enabled and enforcing, as it restricts symlink creation and ownership changes by the swtpm process.
Mitigation Recommendations
Red Hat recommends ensuring SELinux is enabled and set to enforcing mode (the default) to confine the swtpm process to the swtpm_t domain. This restricts the creation of symlinks to arbitrary file types and limits ownership changes, thereby reducing the impact of this flaw. No official patch or fix is currently stated; users should verify SELinux status and avoid disabling or setting it to permissive mode.
CVE-2026-77159: UNIX Symbolic Link (Symlink) Following in Red Hat Red Hat Enterprise Linux 10
Description
A symlink-following flaw was found in libvirt's qemuTPMEmulatorPrepareHost() function. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links. A local attacker with access to the swtpm account can replace the logfile with a symlink, causing libvirtd (running as root) to transfer ownership of an arbitrary file to the swtpm user.
CVSS v3.1
Score 5.5medium
Affected software
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 6
Red Hat
Red Hat Enterprise Linux 7
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 9
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a symlink-following flaw in libvirt's qemuTPMEmulatorPrepareHost() function on Red Hat Enterprise Linux 10. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links, allowing a local attacker with swtpm account access to replace the logfile with a symlink. This causes libvirtd, running with root privileges, to transfer ownership of arbitrary files to the swtpm user. The flaw has a CVSS v3.1 base score of 5.5 (medium severity) with an integrity impact but no confidentiality or availability impact. Red Hat advises ensuring SELinux is enabled and enforcing, which confines the swtpm process and limits the practical impact of this issue. No explicit patch or fixed version is stated in the advisory; mitigation relies on SELinux enforcement.
Potential Impact
The vulnerability allows a local attacker with swtpm account access to cause libvirtd (running as root) to change ownership of arbitrary files to the swtpm user via a symlink attack on the swtpm logfile. This impacts system integrity but does not affect confidentiality or availability. The practical impact is reduced if SELinux is enabled and enforcing, as it restricts symlink creation and ownership changes by the swtpm process.
Mitigation Recommendations
Red Hat recommends ensuring SELinux is enabled and set to enforcing mode (the default) to confine the swtpm process to the swtpm_t domain. This restricts the creation of symlinks to arbitrary file types and limits ownership changes, thereby reducing the impact of this flaw. No official patch or fix is currently stated; users should verify SELinux status and avoid disabling or setting it to permissive mode.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-08-20T14:42:32.943Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-77159","vendor":"Red Hat"}]
Threat ID: 6aa3dc6491cc7f38480d699f
Added to database: 09/11/2026, 10:48:04 UTC
Last enriched: 09/11/2026, 11:03:03 UTC
Last updated: 09/11/2026, 22:23:26 UTC
Views: 10
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.