CVE-2026-15268 PUBLISHED

Libvirt: local privilege escalation via nested ext uri

Assigner: redhat
Reserved: 09.07.2026 Published: 01.12.2026 Updated: 01.12.2026

A flaw was found in libvirt. An unprivileged local user with access to a read-only socket can execute arbitrary commands by submitting a crafted nested Uniform Resource Identifier (URI). Because the privileged daemon executes external helper binaries during connection setup prior to applying read-only access restrictions, an attacker can exploit this issue to achieve local privilege escalation.

Metrics

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

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Enterprise Linux 7
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected

Workarounds

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.

References

Problem Types

  • Missing Authorization CWE