Bug 2513066 (CVE-2026-63623) - CVE-2026-63623 libvirt: Information disclosure via world-readable storage volume images during clone/convert
Summary: CVE-2026-63623 libvirt: Information disclosure via world-readable storage vol...
Keywords:
Status: NEW
Alias: CVE-2026-63623
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2513493
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 09:51 UTC by OSIDB Bzimport
Modified: 2026-08-10 13:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-10 09:51:42 UTC
A file permission vulnerability was found in libvirt's storage volume clone/convert path in src/storage/storage_util.c. The virStorageBackendCreateExecCommand() function ran qemu-img with umask 0 on non-NETFS local storage paths, causing newly created volume images to be world-readable (mode 0644) during the copy operation. libvirt only tightened the file permissions via chmod() after qemu-img completed, creating a window where the full guest disk contents could be read by any local user.

This is the same class of issue as CVE-2025-13193. A local attacker could exploit this race window to read sensitive guest disk contents, resulting in information disclosure.

The fix moves the virCommandSetUmask() call to apply unconditionally to all code paths, ensuring qemu-img creates files with restrictive permissions from the outset.

Upstream fix: https://gitlab.com/libvirt/libvirt/-/commit/69335a484768d550854da1133d5490074695e825


Note You need to log in before you can comment on or make changes to this bug.