- Accueil
- Vulnérabilités
- CVE-2026-77159
CVE-2026-77159
Libvirt: unsafe chown in qemutpmemulatorpreparehost() allows arbitrary file ownership change via symlink
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Redhat (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Hat Enterprise Linux 10 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 7 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 8 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 9 | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
On Red Hat Enterprise Linux, SELinux in enforcing mode (the default) confines the swtpm process to the swtpm_t domain, which restricts the creation of symlinks to arbitrary file types and limits the scope of any ownership change, reducing the practical impact of this flaw. Ensure SELinux is not disabled or set to permissive mode.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
- https://access.redhat.com/security/cve/CVE-2026-77159vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2531811issue-tracking, x_refsource_REDHAT
- https://gitlab.com/libvirt/libvirt/-/work_items/909exploit
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N(CVSS 3.1, CNA:secalert@redhat.com)- Faiblesse
- CWE-61 · Autre (CWE-61)