Bug 2585333 (CVE-2026-133845) - CVE-2026-133845 flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal Spawn()
Summary: CVE-2026-133845 flatpak: flatpak: sandbox escape via fd conflict in flatpak-p...
Keywords:
Status: NEW
Alias: CVE-2026-133845
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2585334
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-27 07:34 UTC by OSIDB Bzimport
Modified: 2026-11-27 07:40 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-27 07:34:59 UTC
A Flatpak application with no special privileges can call flatpak-portal’s Spawn() such that two different file descriptors are mapped to the same handle. That can make dup2() fail; because the failure is not handled, a file descriptor that was originally open inside flatpak-portal is passed into the subsandbox instead. An attacker can predict the unfiltered D-Bus session bus fd number and obtain a full sandbox escape. Mitigated by exiting the child if fd mapping fails (commit f107d8a); more thoroughly fixed by FlatpakUniqueFDList preventing multiple uses of one fd (commits 07b007e, b1b596e, a7b55f8). Fixed in Flatpak 1.18.6 and 1.19.4 (1.18.5/1.19.3 tags also contain the fix but those releases failed and were superseded). Backports exist on the unsupported flatpak-1.16.x git branch; there is no formal upstream 1.16.x security release.


Note You need to log in before you can comment on or make changes to this bug.