Vulnerability · Published Jul 24, 2023 · Assigned by redhat

CVE-2023-1386Qemu: 9pfs: suid/sgid bits not dropped on file write

Low 3.3

In plain English

A low-severity security flaw in Extra Packages for Enterprise Linux from Fedora. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.2%top 85.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12qemuno fix listedDEBIAN-CVE-2023-1386
Debian:13qemuno fix listedDEBIAN-CVE-2023-1386
Debian:14qemuno fix listedDEBIAN-CVE-2023-1386
Ubuntu:22.04:LTSqemuno fix listedUBUNTU-CVE-2023-1386
Ubuntu:24.04:LTSqemuno fix listedUBUNTU-CVE-2023-1386
Ubuntu:25.10qemuno fix listedUBUNTU-CVE-2023-1386
Ubuntu:26.04:LTSqemuno fix listedUBUNTU-CVE-2023-1386
Ubuntu:26.10qemuno fix listedUBUNTU-CVE-2023-1386
Ubuntu:26.04:LTSqemu-hweno fix listedUBUNTU-CVE-2023-1386
Ubuntu:26.10qemu-hweno fix listedUBUNTU-CVE-2023-1386

Affected products (as reported)

Weakness: CWE-281 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References