CVE Watchtower

CVE-2026-133845Flatpak all

NVD

Vulnerability Summary

Summary A Flatpak application with no special privileges can trick the `flatpak-portal` into giving the subsandbox access to one of its own file descriptors. Details If the third argument to `Spawn()` maps two different file descriptors to the same handle, this can result in `dup2()` failing. Because the `dup2()` failure is not handled, the result is that the file descriptor that was originally open inside the `flatpak-portal` is passed to the subsandbox instead. It is reasonably straightforward for an attacker to predict the file descriptor number of the unfiltered D-Bus session bus, which is enough to achieve sandbox escape. Impact Can be exploited to provide a full sandbox escape from a malicious or compromised Flatpak app. Solution This was resolved in Flatpak 1.18.6 and 1.19.4. The 1.18.5 and 1.19.3 tags also include the fix, but the release process for those version failed and they were superseded by 1.18.6 and 1.19.4. Mitigated in Flatpak 1.18.6 (stable branch) and 1.19.4 (development branch) by commit: https://github.com/flatpak/flatpak/commit/f107d8a1a4f12cd870c7ca234f8427af0da8f19c "portal: Exit the child process if mapping fds fails" More thoroughly fixed in Flatpak 1.18.6 (stable branch) and 1.19.4 (development branch) by commits: https://github.com/flatpak/flatpak/commit/07b007ed5c3c56977260d7ed0ccea1c1f1ad4e97 "portal: Rename app_fd, usr_fd variables to indicate that they're variants" https://github.com/flatpak/flatpak/commit/b1b596e3ad54dc48820b1cfd74795b592012b2e2 "common: Add an object tracking unique fds in a D-Bus message" https://github.com/flatpak/flatpak/commit/a7b55f848de59d5e8420d499568214249245331b "portal: Use FlatpakUniqueFDList to prevent multiple uses of one fd" Automated test coverage is provided by commit: https://github.com/flatpak/flatpak/commit/266c6aa2c25328882020f066c3372887a0bd5ba5 "tests: Assert we get an error when mapping >1 handle to the same fd" Related hardening in flatpak-session-helper (this is not a security fix because anything that can communicate with flatpak-session-helper must already be fully trusted): https://github.com/flatpak/flatpak/commit/d49b78e433fa135dfb0acacfc96968d2876164a0 "session-helper: Use FlatpakUniqueFDList here, too" Backports of these commits are available in the flatpak-1.16.x branch for LTS distributions that have stayed on that branch, such as Debian 13. This branch is no longer supported upstream and a formal release from it will not be provided. Workarounds Avoid installing or running untrusted apps, runtimes or extensions. Credit Reported by @refi64; independently rediscovered before unembargo by @oz9un. Fixes developed by @refi64 and @smcv. CVE ID allocated by Red Hat CNA.
Severity Level
HIGH
Published Date
Nov 24, 2026
Last Modified
Nov 24, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
N/A

Affected & Patched Versions

Affected Versions
  • Flatpak all < 1.18.5; 1.19.x < 1.19.3
Patched Versions
  • Flatpak 1.18.6, 1.19.4

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run Flatpak all and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 24, 2026Published
  • Nov 24, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Flatpak all CVEsYou are reading CVE-2026-133845. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 17:06 UTC