Description
A flaw was found in Flatpak’s flatpak-system-helper. When a system-wide app, runtime, or extension uses the extra-data mechanism and its apply_extra logic creates a deeply nested directory tree, permission canonicalization can fail (for example with EMFILE). Affected Flatpak versions can still report success without clearing setuid/setgid bits, leaving a setuid-root executable under /var/lib/flatpak. A local attacker who can install or update such content system-wide, or who can already execute code as a local user in cooperation with that content, can escalate privileges to root.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | flatpak | 1.18.6-1 | — |
| Debian 13 | flatpak | 1.16.6-1~deb13u4 | — |
| Debian 12 | flatpak | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | flatpak | No fix yet | — |
| Ubuntu 26.04 LTS | flatpak | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | flatpak | No fix yet | — |
| Ubuntu Pro 22.04 LTS | flatpak | No fix yet | — |
| Ubuntu Pro 20.04 LTS | flatpak | No fix yet | — |
| Ubuntu Pro 18.04 LTS | flatpak | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | flatpak | 1.18.6-1.1 | openSUSE-SU-2026:12682-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | flatpak | 1.16.6_git20261120-r0 | — |
Advisories 1
- openSUSE-SU-2026:12682-1 flatpak-1.18.6-1.1 on GA media SUSE / openSUSE Security Updates · Nov 26, 2026
References
- https://access.redhat.com/security/cve/CVE-2026-133842 vdb-entry
- RHBZ#2585329 issue-tracking
- https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8
- https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c
- https://github.com/flatpak/flatpak/releases/tag/1.18.6
- https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r
- https://www.openwall.com/lists/oss-security/2026/11/24/15