libvirt read-only socket local privilege escalation
CVE-2026-15268
A flaw in virtual machine management lets ordinary users on the same computer take admin rights.
- CVE
- CVE-2026-15268 (opens in a new tab)
- Score
- CVSS 7.8
- Public date
- 2026-07-16
- First seen
Mitigation
No source names a fixed version yet. Restrict the read-only socket permissions: run chmod 700 /run/libvirt/libvirt-sock-ro /run/libvirt/virtstoraged-ro.sock, set unix_sock_ro_perms = "0700" in /etc/libvirt/libvirtd.conf, then restart libvirtd with systemctl restart libvirtd. Unprivileged status queries will be blocked.
Can't update yet?
Add this line to /etc/libvirt/libvirtd.conf:
chmod 700 /run/libvirt/libvirt-sock-ro /run/libvirt/virtstoraged-ro.sock
A wrong setting can stop the service or lock you out. Check the source links below first.
Then restart libvirtd after changing the setting.
Summary
A local user with access to libvirt's read-only socket can run commands by submitting a crafted URI and gain administrator rights. Red Hat Enterprise Linux 6, 7, 8, 9 and 10 are affected.
Affected when
Local users can reach the libvirt read-only socket
121 other Incidents of this product in the last 30 days
Incidents by product: Red Hat Enterprise Linux 10 · Red Hat Enterprise Linux 6 · Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 8 · Red Hat Enterprise Linux 9
Other recent Incidents of Red Hat Enterprise Linux 10
Distribution packages (5) (every link below opens in a new tab)
- Debian 13 (trixie)libvirt · not fixed yet
- Debian 12 (bookworm)libvirt · not fixed yet
- RHEL 10libvirt · not fixed yet
- RHEL 9libvirt · not fixed yet
- RHEL 8virt:rhel/libvirt · not fixed yet
Sources: Debian Security Tracker · Red Hat Security Data (CC BY 4.0)
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)