Bug 2585334 - CVE-2026-133845 flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal Spawn() [fedora-all]
Summary: CVE-2026-133845 flatpak: flatpak: sandbox escape via fd conflict in flatpak-p...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["ac4197f7-b56d-43cf-896f-b...
Depends On:
Blocks: CVE-2026-133845
TreeView+ depends on / blocked
 
Reported: 2026-11-27 07:40 UTC by Srikanth Balasubramanian
Modified: 2026-11-27 07:40 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-11-27 07:40:53 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.