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

- Severity: Low 3.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2023-07-24T15:19:25.843Z
- Modified: 2026-06-17T05:27:50.283Z
- Weaknesses: CWE-281
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- qemu: no versions given
- qemu-kvm: no versions given
- qemu-kvm-ma: no versions given
- virt:rhel/qemu-kvm: no versions given
- virt:av/qemu-kvm: no versions given
- qemu qemu: no versions given
- fedoraproject fedora: 38

## Every score

- redhat: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2023-1386> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2223985> (issue-tracking, third-party-advisory)
- <https://github.com/advisories/GHSA-ppj8-867g-rgjr>
- <https://github.com/v9fs/linux/issues/29>
- <https://security.netapp.com/advisory/ntap-20230831-0005/>

## Sources

- CVE List: [CVE-2023-1386](https://www.cve.org/CVERecord?id=CVE-2023-1386), CVE Terms of Use, modified 2024-09-25
- NVD: [CVE-2023-1386](https://nvd.nist.gov/vuln/detail/CVE-2023-1386), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-1386 · Whole record: https://cve.day/CVE-2023-1386.json · Rebuilt by cve.day 2026-11-25T22:58:26.440Z
