CVE-2026-133845: Flatpak Flaw Lets Apps Escape Sandbox

A flaw in Flatpak's portal helper can let an ordinary sandboxed app break out of its sandbox and reach the host session. The fix shipped in Flatpak 1.18.6, released on 24 November 2026, and the CVE record for the flaw, CVE-2026-133845, was published on 27 November.
Flatpak is the system many Linux distributions use to install desktop apps in sandboxes, so that each app runs isolated from the rest of the system. The flaw breaks that isolation. It was first privately reported on 15 November 2026 by refi64, and independently rediscovered before the embargo lifted by oz9un. The fixes were developed by refi64 and smcv, and the CVE identifier was allocated by Red Hat.
How the escape works
The flaw sits in flatpak-portal, the privileged helper that does things on a sandboxed app's behalf. When a sandboxed app calls Spawn to start a process in a subsandbox, it can map two different file descriptors to the same handle. An internal dup2 call then fails, and because that failure was not handled, the file descriptor that was originally open inside flatpak-portal is passed into the subsandbox instead.
That is enough for a full sandbox escape. An attacker can reasonably predict the file descriptor number of the unfiltered D-Bus session bus, and holding that descriptor opens the host session to the app. A malicious or compromised Flatpak app with no special privileges can use this to escape the sandbox.
The attack needs a malicious or compromised app, and the user has to install and run it. Red Hat, which rates the flaw Important, says attack complexity is low once a malicious app is installed and run, the privileges required are low, and user interaction is typically required to install or launch the app. The scope is unchanged, because the break is of Flatpak's sandbox boundary rather than a privilege escalation to another user or to root. Even so, the impact on the affected user's session is high across confidentiality, integrity and availability, because the escaped app can reach host-session resources such as the unfiltered D-Bus session bus.
Which versions are affected and the fix
The flaw was resolved in Flatpak 1.18.6 on the stable branch and 1.19.4 on the development branch. The 1.18.5 and 1.19.3 tags also include the fix, but the release process for those versions failed and they were superseded by 1.18.6 and 1.19.4. Anyone running an older release should update as soon as their distribution offers the fixed version.
Backports of the fix are available in the flatpak-1.16.x branch for long-term support distributions that have stayed on that branch, such as Debian 13. That branch is no longer supported upstream and no formal release will come from it, so users on long-term support distributions should check with their vendor rather than assuming they are covered.
Red Hat scores the flaw 7.3, rated High, under CVSS version 3.1. No exploitation has been confirmed, and no public exploit code has been reported.
The second flaw fixed in the same release
Flatpak 1.18.6 closed two flaws at once. The second, CVE-2026-133842, is rated 8.2 and High. A system-wide app, runtime or extension using extra-data, installed by an administrator, could leave a setuid-root file under /var/lib/flatpak after installation, giving root to any local user who can run it. That flaw needs an install by someone with admin rights plus a cooperative local user, while CVE-2026-133845 needs only that the user runs an app. The same update closes both, which is why they share a story.
What users should do
Update Flatpak to 1.18.6 or newer, including 1.19.4 on the development branch, as soon as the update reaches your distribution. Until then, the project's advice is simple: do not install or run untrusted apps, runtimes or extensions. That is the only workaround the advisory offers, and it is the practical defence while patches roll out, because the escape needs a malicious or compromised app to be running in the first place.