CVE-2023-1386
LowCVSS 3.3Exploitation Probability (EPSS)
Low risk15th percentile - higher than 15% of all known CVEs
Summary
In QEMU's 9p passthrough filesystem (9pfs) implementation, a local user in the guest can write an executable file with SUID or SGID bits that are not properly dropped. In rare circumstances, this could allow a malicious guest user to elevate privileges within the guest and help a host local user elevate privileges on the host.
Risk Assessment
This could lead to privilege escalation both within the virtual machine and on the host, posing a serious risk to virtualized environments. Exploitation requires local access in the guest, but the impact may extend beyond VM isolation.
Recommendation
Update QEMU to a version containing the fix for this issue. Consider restricting the use of 9pfs or applying additional access controls to shared directories.
Other vulnerabilities in QEMU
See all- CVE-2026-5744Medium
A vulnerability in the UEFI implementation within QEMU (or similar software) causes a heap overflow in the hardware module (hw/uefi). An attacker can exploit this flaw to gain unauthorized access or execute arbitrary code.
- CVE-2017-16845Critical
The hw/input/ps2.c file in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
- CVE-2017-15268High
Qemu through 2.10.0 allows remote attackers to cause a memory leak by triggering slow data-channel read operations, related to io/channel-websock.c.
- CVE-2017-13711High
A use-after-free vulnerability in the sofree function in slirp/socket.c in QEMU allows attackers to cause a denial of service (QEMU instance crash) by failing to properly clear ifq_so from pending packets.
- CVE-2017-8380Critical
Buffer overflow in the 'megasas_mmio_write' function in Qemu 2.9.0 allows remote attackers to have unspecified impact via unknown vectors.
- CVE-2017-10664High
qemu-nbd in QEMU does not ignore SIGPIPE, allowing remote attackers to cause a denial of service (daemon crash) by disconnecting during a server-to-client reply attempt.
- CVE-2017-8309High
A memory leak in audio/audio.c in QEMU allows remote attackers to cause a denial of service by repeatedly starting and stopping audio capture.
- CVE-2015-8619High
The Human Monitor Interface support in QEMU allows remote attackers to cause a denial of service through out-of-bounds write and application crash.
- CVE-2015-8567High
A memory leak in QEMU's net/vmxnet3.c allows remote attackers to cause a denial of service through excessive memory consumption.
- CVE-2016-4002Critical
Buffer overflow in the mipsnet_receive function in hw/net/mipsnet.c in QEMU, when the guest NIC is configured to accept large packets, allows remote attackers to cause a denial of service (memory corruption and QEMU crash) or possibly execute arbitrary code via a packet larger than 1514 bytes.
Original NVD description (English source)
A flaw was found in the 9p passthrough filesystem (9pfs) implementation in QEMU. When a local user in the guest writes an executable file with SUID or SGID, none of these privileged bits are correctly dropped. As a result, in rare circumstances, this flaw could be used by malicious users in the guest to elevate their privileges within the guest and help a host local user to elevate privileges on the host.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

