Bug 2585334

Summary: CVE-2026-133845 flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal Spawn() [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: flatpakAssignee: David King <amigadave>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: amigadave, debarshir, gnome-sig, kalevlember, renner0
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["ac4197f7-b56d-43cf-896f-b3eda3cef03b"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2585333    

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.

Comment 1 Fedora Update System 2026-11-27 10:28:27 UTC
FEDORA-2026-967a114b7a (flatpak-1.19.0^really1.18.6-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-967a114b7a

Comment 2 Fedora Update System 2026-11-27 10:29:07 UTC
FEDORA-2026-333e4d33d7 (flatpak-1.18.6-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-333e4d33d7