# Flatpak 1.18.6 patches critical sandbox escape and privilege escalation flaws

> **Key takeaway:** Flatpak 1.18.6 fixes two vulnerabilities that could allow malicious applications to gain root access or bypass sandbox restrictions via the extra-data mechanism and flatpak-portal service.

**Published:** 2026-11-24T15:09:16+00:00 
**Source:** Linuxiac 
**Category:** distro-news 
**Canonical URL:** https://fosswire.org/news/flatpak-1186-patches-critical-sandbox-escape-and-privilege-e.html 

## Summary
The Flatpak project has released version 1.18.6 to address two significant security vulnerabilities. These flaws specifically target the sandbox isolation and permission models that protect the host system from containerized applications.

The updates affect users on the stable 1.18.x branch and the development 1.19.x branch. Because these fixes involve critical security risks, distribution maintainers for long-term support branches, such as Debian 13, are responsible for backporting the patches to older versions like the 1.16.x series.

## Technical breakdown of CVE-2026-133842 and CVE-2026-133845
- **Privilege Escalation (CVE-2026-133842):** A critical flaw in the extra-data mechanism allows a compromised system-wide application, runtime, or extension to leave an executable with setuid root permissions on the host, enabling local attackers to gain root privileges.
- **Sandbox Escape (CVE-2026-133845):** A high-severity vulnerability in the flatpak-portal service involves improper file descriptor handling when spawning processes within a subsandbox.
- **D-Bus Access:** The portal flaw allows a malicious application, even one lacking special permissions, to access the unfiltered D-Bus session bus to escape its sandbox environment.
- **Release Status:** Fixes are officially integrated into Flatpak 1.18.6 (stable) and 1.19.4 (development), superseding previous attempts at patching in versions 1.18.5 and 1.19.3.

## Why it matters
This update is vital for Linux desktop users who rely on Flatpak for application isolation. System administrators and distribution maintainers must prioritize these updates to prevent malicious sandboxed software from compromising host system integrity or escalating to administrative privileges.