Bug 2585331 - CVE-2026-133842 flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with EMFILE [fedora-all]
Summary: CVE-2026-133842 flatpak: flatpak: flatpak-system-helper extra-data privilege ...
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": ["313bfc21-d61a-4d74-a51a-5...
Depends On:
Blocks: CVE-2026-133842
TreeView+ depends on / blocked
 
Reported: 2026-11-27 07:26 UTC by Srikanth Balasubramanian
Modified: 2026-11-27 07:26 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:26:23 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.

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.