Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.8CVE-2026-15268

Libvirt: local privilege escalation via nested URI

Published 01/12/2026 · Updated 01/12/2026 · Red Hat Enterprise Linux 10

Summary

A flaw in libvirt (CWE-862, Missing Authorization) allows an unprivileged local user with access to a read-only socket to execute arbitrary commands by submitting a crafted nested URI. The privileged daemon executes external helper binaries during connection setup, before read-only access restrictions are applied.

CVSS 3.1 score is 7.8 (High): the attack is local, low complexity, requires a low-privileged account and no user interaction. Successful exploitation results in privilege escalation with full impact on confidentiality, integrity and availability. The vulnerability is not listed in the CISA KEV catalog.

Who is affected

Organizations running libvirt on Red Hat Enterprise Linux 6, 7, 8, 9 and 10, especially virtualization hosts where not fully trusted local accounts can access libvirt read-only sockets.

What to do

  1. No fixed versions are listed in the record; monitor the official Red Hat advisory (access.redhat.com/security/cve/CVE-2026-15268) and apply updates as soon as they are available.
  2. Workaround: restrict permissions on active read-only sockets with chmod 700 /run/libvirt/libvirt-sock-ro /run/libvirt/virtstoraged-ro.sock.
  3. To persist across daemon restarts, set unix_sock_ro_perms = "0700" in /etc/libvirt/libvirtd.conf (or the relevant daemon file, e.g. /etc/libvirt/virtstoraged.conf), then run systemctl restart libvirtd or, for modular daemons, systemctl restart virtstoraged.
  4. Note: restarting libvirt daemons temporarily interrupts management connections, and restricting socket permissions prevents unprivileged users and non-root monitoring tools from querying hypervisor status.
  5. Check exposure: list socket permissions under /run/libvirt/ and identify which local accounts can access them.

Vendor workaround

To mitigate this issue, restrict access to libvirt read-only Unix sockets so that only trusted accounts can connect to them.

On systems using the monolithic libvirtd, restrict the read-only socket by setting unix_sock_ro_perms = "0700" in /etc/libvirt/libvirtd.conf and restarting the service.

On systems using modular daemons (RHEL 9 and later), each daemon (virtqemud, virtstoraged, virtnetworkd, etc.) exposes its own read-only socket under /run/libvirt/. Restrict access to all *-sock-ro sockets by applying appropriate filesystem permissions or by overriding the systemd socket unit configurations.

Warning: restricting read-only socket permissions will prevent unprivileged users and monitoring tools from querying libvirt status. Restarting libvirt daemons will temporarily interrupt management connections.

Original text from the vendor's CVE record.

Affected products and versions

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

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.