CVE-2026-15268: From a libvirt read-only socket to command execution as root
Deutsche Telekom researchers demonstrated how an unprivileged local user can turn access to a read-only libvirt socket into arbitrary command execution as root. The attack works on a test host with the default
libvirt socket configuration — without membership in privileged groups or any user interaction.The modular storage daemon
virtstoraged provides separate management and read-only sockets. The socket file /run/libvirt/virtstoraged-sock-ro is accessible to local users, and connections through it receive the VIR_CONNECT_RO flag. However, the read-only check considered only operations performed after the connection was established and did not restrict the process of opening it.The issue was confirmed in Fedora 44 with the
libvirt 12.0.0-3.fc44 package upstream v12.4.0 source build in an unprivileged Podman container, where execution reached uid 0 inside the container without gaining host root privileges. Exploitability depends on local users’ access to the daemon sockets, the daemon’s privileges, and confinement such as SELinux or AppArmor. libvirt versions before 12.6.0 may be affected if the fix was not backported to older branches. The fix was first included in libvirt 12.6.0 and blocks transport components in server-supplied URIs.