Bug 2585329 (CVE-2026-133842) - CVE-2026-133842 flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with EMFILE
Summary: CVE-2026-133842 flatpak: flatpak: flatpak-system-helper extra-data privilege ...
Keywords:
Status: NEW
Alias: CVE-2026-133842
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: 2585331
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-27 07:24 UTC by OSIDB Bzimport
Modified: 2026-11-27 07:26 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:24:00 UTC
If an app, runtime or extension installed system-wide uses the Flatpak extra-data mechanism, and its apply_extra program creates a very deeply nested directory hierarchy, flatpak-system-helper can fail while canonicalizing permissions (for example with EMFILE when exceeding open-file limits). In affected versions, that failure path can still be treated as success, leaving a setuid-root executable under /var/lib/flatpak whose setuid bit was not cleared. A local user cooperating with a malicious or compromised system-wide app/runtime/extension, or an app that can already run code as the user, can use that executable to escalate to root. 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.