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-2024-32462

CVE-2024-32462: Flatpak Sandbox Escape RCE Vulnerability

CVE-2024-32462 is a sandbox escape RCE vulnerability in Flatpak that allows malicious apps to execute arbitrary code outside their sandbox. This article covers technical details, affected versions, and patches.

Updated: January 21, 2026

CVE-2024-32462 Overview

CVE-2024-32462 is an argument injection vulnerability (CWE-88) in Flatpak, a system for building, distributing, and running sandboxed desktop applications on Linux. This vulnerability allows a malicious or compromised Flatpak application to execute arbitrary code outside its sandbox, effectively bypassing the security isolation that Flatpak is designed to provide.

The vulnerability exists because the --command argument of flatpak run can be manipulated to pass arguments directly to bwrap (bubblewrap), the underlying sandboxing tool. An attacker can exploit this by passing specially crafted command lines through the org.freedesktop.portal.Background.RequestBackground D-Bus portal interface, enabling sandbox escape.

Critical Impact

A malicious Flatpak application can escape its sandbox and execute arbitrary code with the privileges of the user running the application, potentially leading to full system compromise.

Affected Products

  • Flatpak versions before 1.10.9
  • Flatpak versions before 1.12.9
  • Flatpak versions before 1.14.6
  • Flatpak versions before 1.15.8
  • Fedora 39
  • Fedora 40

Discovery Timeline

  • April 18, 2024 - CVE-2024-32462 published to NVD
  • August 21, 2025 - Last updated in NVD database

Technical Details for CVE-2024-32462

Vulnerability Analysis

This sandbox escape vulnerability stems from improper handling of command-line arguments in Flatpak's execution flow. Flatpak applications run within a sandboxed environment using bubblewrap (bwrap) for isolation. The flatpak run command accepts a --command argument that specifies what command to execute within the sandboxed application.

The core issue is that the --command argument does not properly sanitize or validate its input before passing it to bubblewrap. This allows an attacker to inject bubblewrap-specific arguments such as --bind, which can be used to mount arbitrary host filesystem paths into the sandbox, effectively breaking the isolation boundary.

The attack surface is expanded through the D-Bus portal interface org.freedesktop.portal.Background.RequestBackground, which accepts arbitrary command lines from within Flatpak applications. When these command lines are processed and converted into --command arguments, the same argument injection vulnerability can be exploited, allowing a sandboxed application to escape its confinement.

Root Cause

The root cause is insufficient argument parsing and validation in Flatpak's command handling. The --command argument was not properly separated from bubblewrap's own argument processing, allowing attacker-controlled input to be interpreted as bubblewrap configuration options rather than as commands to execute within the sandbox.

The fix involves passing the -- argument to bubblewrap before the command, which signals the end of option processing. This ensures that any subsequent arguments are treated as literal command strings rather than bubblewrap options. This feature has been supported since bubblewrap version 0.3.0, and all supported Flatpak versions require at least that bubblewrap version.

Attack Vector

The attack requires local access and leverages the D-Bus portal interface accessible from within sandboxed Flatpak applications. An attacker would need to either create a malicious Flatpak application or compromise an existing one to exploit this vulnerability.

The exploitation path involves:

  1. A malicious Flatpak application calling the org.freedesktop.portal.Background.RequestBackground portal interface
  2. Passing a crafted command line that includes bubblewrap arguments (e.g., --bind)
  3. When Flatpak processes this request, the injected arguments are passed to bubblewrap
  4. The attacker can use arguments like --bind to mount host filesystem paths, enabling code execution outside the sandbox

The vulnerability is particularly concerning because Flatpak's security model assumes applications cannot access resources outside their sandbox without explicit user permission.

Detection Methods for CVE-2024-32462

Indicators of Compromise

  • Unexpected D-Bus calls to org.freedesktop.portal.Background.RequestBackground with unusual command arguments
  • Flatpak applications attempting to access files or directories outside their permitted sandbox scope
  • Process execution chains showing bwrap processes with suspicious --bind or similar mount arguments

Detection Strategies

  • Monitor D-Bus traffic for calls to the RequestBackground portal interface containing -- prefixed arguments
  • Implement file integrity monitoring on sensitive system directories for unexpected access from Flatpak-spawned processes
  • Review system logs for Flatpak execution events with anomalous command patterns

Monitoring Recommendations

  • Enable audit logging for D-Bus portal interface calls from Flatpak applications
  • Deploy endpoint detection rules to identify bubblewrap processes with unexpected bind mount configurations
  • Monitor for new .desktop files created by Flatpak applications with suspicious command entries

How to Mitigate CVE-2024-32462

Immediate Actions Required

  • Update Flatpak to a patched version: 1.10.9, 1.12.9, 1.14.6, or 1.15.8 depending on your release branch
  • Update xdg-desktop-portal to version 1.18.4 or later for additional mitigation
  • Review installed Flatpak applications and remove any untrusted or unnecessary packages
  • Audit system for signs of compromise if untrusted Flatpak applications have been executed

Patch Information

The vulnerability has been patched in Flatpak versions 1.10.9, 1.12.9, 1.14.6, and 1.15.8. The fix ensures that the -- argument is passed to bubblewrap, preventing option injection. Multiple commits address this issue across different Flatpak branches:

  • Patch commit 72016e3
  • Patch commit 81abe2a
  • Patch commit b7c1a55
  • Patch commit bbab7ed

For additional details, refer to the GitHub Security Advisory.

Workarounds

  • Update xdg-desktop-portal to version 1.18.4, which mitigates the vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --
  • Restrict installation and execution of Flatpak applications to trusted sources only
  • Consider disabling the Background portal for untrusted applications through portal configuration
bash
# Check current Flatpak version
flatpak --version

# Update Flatpak on Fedora
sudo dnf update flatpak

# Update Flatpak on Debian/Ubuntu
sudo apt update && sudo apt upgrade flatpak

# Verify xdg-desktop-portal version
pkg-config --modversion xdg-desktop-portal

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFlatpak

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-88
  • Technical References
  • Openwall OSS Security Post

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Vendor Resources
  • GitHub Flatpak Commit Update

  • GitHub Flatpak Commit Update

  • GitHub Flatpak Commit Update

  • GitHub Flatpak Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34078: Flatpak Symlink RCE Vulnerability

  • CVE-2021-21261: Flatpak Sandbox Escape RCE Vulnerability

  • CVE-2026-40354: Flatpak Path Traversal Vulnerability

  • CVE-2026-39977: flatpak-builder Path Traversal Flaw
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