Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-1386

LOW 3.3EPSS 14%

Qemu: 9pfs: suid/sgid bits not dropped on file write

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running qemu all versions
  • Anyone running Red Hat Enterprise Linux 6 (versions: see the vendor advisory)
  • Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
  • Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
  • Anyone running Red Hat Enterprise Linux 8 Advanced Virtualization (versions: see the vendor advisory)
  • Anyone running Red Hat Enterprise Linux 9 (versions: see the vendor advisory)
  • Anyone running Fedora all versions
  • Anyone running Fedora Extra Packages for Enterprise Linux (versions: see the vendor advisory)

Vulnerability facts

Affected
qemu all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 9; Fedora all versions; Fedora Extra Packages for Enterprise Linux
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
CWE
CWE-281
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
qemuall versions—cvelist
Red Hat Enterprise Linux 6——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 7——cvelist
Red Hat Enterprise Linux 8——cvelist
Red Hat Enterprise Linux 8 Advanced Virtualization——cvelist
Red Hat Enterprise Linux 9——cvelist
Fedoraall versions—cvelist
Fedora Extra Packages for Enterprise Linux——cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-1386. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-1386.md
Affected: qemu all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 9; Fedora all versions; Fedora Extra Packages for Enterprise Linux
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for qemu, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8 Advanced Virtualization, Red Hat Enterprise Linux 9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-1386 being exploited?

There is no confirmed exploitation: CVE-2023-1386 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-1386?

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-1386?

qemu all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 9; Fedora all versions; Fedora Extra Packages for Enterprise Linux.

Is there a fix for CVE-2023-1386?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-1386?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors