{"id":"CVE-2023-1386","aliases":["CVE-2023-1386"],"related":[],"kind":"vulnerability","state":"published","title":"Qemu: 9pfs: suid/sgid bits not dropped on file write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-07-24T15:19:25.843Z","modified":"2026-06-17T05:27:50.283Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-281"],"affected":[{"ranges":[],"product":"qemu","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"qemu-kvm","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"qemu-kvm","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"qemu-kvm-ma","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"virt:rhel/qemu-kvm","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8 Advanced Virtualization","package":"virt:av/qemu-kvm","cpe":"cpe:/a:redhat:advanced_virtualization:8::el8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"qemu-kvm","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Fedora","product":"Fedora","package":"qemu","source":"cvelist"},{"ranges":[],"vendor":"Fedora","product":"Extra Packages for Enterprise Linux","package":"qemu","source":"cvelist"},{"ranges":[],"vendor":"qemu","product":"qemu","cpe":"cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-1386","tags":["third-party-advisory","vdb-entry","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2223985","tags":["issue-tracking","third-party-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/advisories/GHSA-ppj8-867g-rgjr","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/v9fs/linux/issues/29","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230831-0005/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-25T19:57:40.931Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-1386","url":"https://www.cve.org/CVERecord?id=CVE-2023-1386","licence":"CVE Terms of Use","modified":"2024-09-25T19:57:50.614Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-1386","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1386","licence":"Public domain","modified":"2026-06-17T05:27:50.283Z"}],"updatedAt":"2026-11-25T22:58:26.440Z","epss":{"score":0.00235,"percentile":0.15545,"date":"2026-12-01T12:00:22.000Z"}}