Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-34177

CVE-2026-34177: Canonical LXD Privilege Escalation Flaw

CVE-2026-34177 is a privilege escalation vulnerability in Canonical LXD versions 4.12 through 6.7 caused by an incomplete denylist. This post covers the technical details, affected versions, impact, and mitigation.

Published: April 9, 2026

CVE-2026-34177 Overview

Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist vulnerability in the isVMLowLevelOptionForbidden function located in lxd/project/limits/permissions.go. This security flaw omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can exploit this vulnerability to inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root.

Critical Impact

This vulnerability enables privilege escalation from a restricted VM user to full LXD cluster administrator and host root access, compromising the entire container infrastructure.

Affected Products

  • Canonical LXD versions 4.12 through 6.7
  • LXD deployments using restricted.virtual-machines.lowlevel=block project restrictions
  • Multi-tenant LXD cluster environments with VM workloads

Discovery Timeline

  • 2026-04-09 - CVE-2026-34177 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-34177

Vulnerability Analysis

This vulnerability falls under CWE-184 (Incomplete List of Disallowed Inputs), representing a critical security bypass in LXD's VM isolation mechanisms. The isVMLowLevelOptionForbidden function maintains a denylist of configuration keys that restricted users cannot modify when the restricted.virtual-machines.lowlevel=block setting is enabled on a project. However, the implementation fails to include two critical keys: raw.apparmor and raw.qemu.conf.

The attack leverages the ability to specify custom AppArmor rules and QEMU configuration options to create a bridge between the guest VM and the host's LXD Unix socket. By injecting a QEMU chardev configuration, an attacker can expose the LXD control socket inside the guest VM, effectively bypassing all container isolation and gaining full control over the LXD cluster.

Root Cause

The root cause is an incomplete security control implementation in the denylist filtering mechanism. When designing the isVMLowLevelOptionForbidden function, the developers failed to enumerate all dangerous low-level configuration keys that could be abused to escape VM isolation. Specifically, the raw.apparmor key allows modification of the AppArmor security profile applied to the VM, while raw.qemu.conf permits injection of arbitrary QEMU configuration directives—both of which can be weaponized to break VM containment.

Attack Vector

The attack requires network access and elevated privileges (can_edit permission on a VM instance). The attacker must have legitimate access to a restricted LXD project with the restricted.virtual-machines.lowlevel=block setting enabled. The scope is changed, meaning successful exploitation impacts resources beyond the vulnerable component's security boundary—specifically allowing escape from VM isolation to host-level access.

The exploitation chain involves:

  1. Identifying a VM instance in a restricted project where the attacker has can_edit permission
  2. Modifying the VM configuration to inject a malicious raw.apparmor rule that permits access to the LXD Unix socket
  3. Adding a raw.qemu.conf entry that creates a chardev mapping the host's LXD socket into the guest
  4. Restarting the VM to apply the configuration changes
  5. From within the guest VM, connecting to the exposed LXD socket to issue administrative commands
  6. Escalating to LXD cluster administrator and subsequently to host root

For technical details on the exploitation mechanism, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-34177

Indicators of Compromise

  • Unexpected modifications to raw.apparmor or raw.qemu.conf settings on VM instances in restricted projects
  • VM configuration changes that reference the LXD Unix socket path (typically /var/lib/lxd/unix.socket or /var/snap/lxd/common/lxd/unix.socket)
  • Unusual chardev entries in QEMU process arguments containing socket mappings
  • LXD API activity originating from within guest VM network namespaces

Detection Strategies

  • Monitor LXD configuration change events for raw.apparmor and raw.qemu.conf keys using lxc monitor or the LXD events API
  • Implement audit logging on LXD Unix socket access to detect unauthorized connections
  • Review QEMU process command lines for unexpected chardev configurations bridging host resources
  • Deploy file integrity monitoring on AppArmor profile directories to detect unauthorized modifications

Monitoring Recommendations

  • Enable verbose logging in LXD to capture all configuration modification requests
  • Set up alerts for any VM configuration changes involving raw.* keys in restricted projects
  • Monitor for privilege escalation patterns such as users gaining cluster-admin permissions unexpectedly
  • Audit LXD API access logs for unusual patterns or authentication from unexpected sources

How to Mitigate CVE-2026-34177

Immediate Actions Required

  • Upgrade LXD to a patched version that properly blocks raw.apparmor and raw.qemu.conf under the restricted.virtual-machines.lowlevel=block restriction
  • Review all VM configurations in restricted projects for unauthorized raw.apparmor or raw.qemu.conf entries
  • Audit user permissions to ensure can_edit access is granted only to trusted users
  • Consider temporarily disabling VM creation in restricted projects until patches are applied

Patch Information

Canonical has addressed this vulnerability through a code fix that adds raw.apparmor and raw.qemu.conf to the denylist in the isVMLowLevelOptionForbidden function. The fix is available in the GitHub Pull Request #17909. Users should upgrade to the latest patched version of LXD that includes this fix.

For detailed information about the vulnerability and remediation, consult the GitHub Security Advisory GHSA-fm2x-c5qw-4h6f.

Workarounds

  • Revoke can_edit permissions from untrusted users on VM instances in restricted projects until the patch is applied
  • Manually inspect and remove any suspicious raw.apparmor or raw.qemu.conf entries from existing VM configurations
  • Implement network-level controls to restrict access to the LXD API from untrusted networks
  • Consider using container instances instead of VMs in restricted projects where the stricter isolation of patched VMs is not yet available
bash
# Check for potentially malicious VM configurations
lxc config show <vm-name> | grep -E "raw\.(apparmor|qemu\.conf)"

# List all VMs in a project and check their configurations
lxc list --project <project-name> --format csv -c n | xargs -I {} lxc config show {} --project <project-name> | grep -E "raw\.(apparmor|qemu\.conf)"

# Remove suspicious configuration entries
lxc config unset <vm-name> raw.apparmor
lxc config unset <vm-name> raw.qemu.conf

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLxd

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-184
  • Technical References
  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34179: Canonical LXD Privilege Escalation Flaw

  • CVE-2026-34178: Canonical LXD Auth Bypass Vulnerability

  • CVE-2026-28384: Canonical LXD RCE Vulnerability

  • CVE-2026-3351: Canonical LXD Auth Bypass Vulnerability
Default Legacy - Prefooter | 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