The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-2861

CVE-2023-2861: QEMU 9pfs Privilege Escalation Flaw

CVE-2023-2861 is a privilege escalation vulnerability in QEMU's 9p passthrough filesystem that allows malicious clients to escape the exported tree by opening special device files. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: February 4, 2026

CVE-2023-2861 Overview

A security flaw has been identified in the 9p passthrough filesystem (9pfs) implementation in QEMU, the open-source machine emulator and virtualizer. The vulnerability exists because the 9pfs server fails to prohibit opening special files on the host side. This oversight potentially allows a malicious client running within a virtual machine to escape from the exported 9p tree by creating and opening a device file in the shared folder, compromising the isolation between guest and host systems.

Critical Impact

A malicious VM guest can escape virtualization boundaries by exploiting improper access controls in the 9pfs shared folder implementation, potentially gaining unauthorized access to host system resources.

Affected Products

  • QEMU (all versions with 9pfs support)
  • Linux distributions using affected QEMU packages
  • Virtualization platforms utilizing QEMU 9pfs passthrough

Discovery Timeline

  • 2023-12-06 - CVE-2023-2861 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-2861

Vulnerability Analysis

This vulnerability resides in QEMU's 9p passthrough filesystem (9pfs) implementation, which provides a mechanism for sharing directories between the host and guest virtual machines. The fundamental issue is an improper access control flaw (CWE-284) where the 9pfs server does not properly validate the types of files that can be opened through the shared folder interface.

When a guest VM has access to a 9pfs shared folder, the expected behavior is that only regular files and directories within the designated export path should be accessible. However, the flawed implementation allows guests to create and access special device files (such as character or block devices) within the shared folder. This creates a pathway for VM escape attacks.

The vulnerability requires local access to an affected QEMU instance with 9pfs configured, and the attacker needs low privileges within the guest VM. Successful exploitation can result in unauthorized access to host system data and the ability to modify host resources, though availability impact is not directly affected.

Root Cause

The root cause stems from insufficient file type validation in the 9pfs server implementation. When processing file open requests from the guest, the server fails to check whether the target file is a special device file. Device files in Unix-like systems provide direct interfaces to hardware and kernel subsystems, and allowing guest access to create and open these files on the host filesystem effectively bypasses the virtualization isolation boundary.

Attack Vector

The attack requires the following conditions:

  1. A QEMU virtual machine configured with 9pfs passthrough filesystem sharing
  2. Guest access to the shared folder with write permissions
  3. The attacker must be able to execute code within the guest VM

An attacker exploits this vulnerability by:

  1. Creating a device file (such as a character device pointing to /dev/mem or /dev/sda) within the 9pfs shared folder from the guest
  2. Opening the newly created device file through the 9pfs interface
  3. Leveraging the device file access to read or write host system resources outside the intended shared folder boundaries

The local attack vector means network-based exploitation is not possible, but in multi-tenant virtualization environments, a compromised guest could use this to attack the hypervisor host.

Detection Methods for CVE-2023-2861

Indicators of Compromise

  • Unexpected device files appearing in 9pfs shared directories
  • Unusual file operations in QEMU process logs related to special file types
  • Guest VMs attempting to create device nodes in shared folders
  • Anomalous host resource access patterns originating from QEMU processes

Detection Strategies

  • Monitor 9pfs shared directories for creation of device files using file integrity monitoring
  • Audit QEMU configurations for 9pfs passthrough usage with write permissions enabled
  • Implement behavioral analysis for QEMU processes accessing unexpected host resources
  • Review SELinux/AppArmor denials related to QEMU and device file operations

Monitoring Recommendations

  • Enable detailed logging for QEMU 9pfs operations
  • Configure file system auditing on all directories shared via 9pfs
  • Monitor for mknod system calls within QEMU processes
  • Deploy SentinelOne agents on hypervisor hosts to detect anomalous virtualization escape attempts

How to Mitigate CVE-2023-2861

Immediate Actions Required

  • Review all QEMU deployments for 9pfs passthrough configurations
  • Disable 9pfs passthrough filesystem sharing where not strictly required
  • If 9pfs is required, ensure shared directories have restrictive permissions
  • Apply vendor-provided patches as they become available

Patch Information

Multiple vendors have released security advisories and patches addressing this vulnerability:

  • Red Hat CVE-2023-2861 Advisory provides guidance for RHEL-based systems
  • Red Hat Bug Report #2219266 contains detailed tracking information
  • Debian LTS Security Announcement addresses Debian-based distributions
  • NetApp Advisory NTAP-20240125-0005 covers NetApp products using QEMU
  • NetApp Advisory NTAP-20240229-0002 provides additional NetApp guidance

Consult your distribution's package manager for updated QEMU packages that include the fix.

Workarounds

  • Disable 9pfs passthrough entirely by removing -fsdev and -device virtio-9p-pci options from QEMU command lines
  • Use alternative file sharing mechanisms such as virtio-fs with proper sandboxing
  • Implement mandatory access control (SELinux, AppArmor) policies restricting QEMU process capabilities
  • Configure read-only 9pfs shares where write access is not required
bash
# Configuration example - Disabling 9pfs passthrough
# Remove or comment out 9pfs-related options in QEMU configurations

# Instead of:
# -fsdev local,id=fsdev0,path=/shared,security_model=passthrough \
# -device virtio-9p-pci,fsdev=fsdev0,mount_tag=hostshare

# Consider using virtio-fs with proper isolation, or alternative methods
# such as network-based file sharing with proper access controls

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechQemu

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284

  • NVD-CWE-Other
  • Technical References
  • Debian LTS Security Announcement

  • NetApp Advisory NTAP-20240125-0005

  • NetApp Advisory NTAP-20240229-0002
  • Vendor Resources
  • Red Hat CVE-2023-2861 Advisory

  • Red Hat Bug Report #2219266
  • Related CVEs
  • CVE-2023-1386: QEMU Privilege Escalation Vulnerability

  • CVE-2022-0358: QEMU virtio-fs Privilege Escalation Flaw

  • CVE-2026-2243: QEMU VMDK Image DoS Vulnerability

  • CVE-2025-14876: QEMU virtio-crypto DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English