CVE-2026-133842
Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile
8.2
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 and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| red hat enterprise linux 10 | red hat | — | — | CVE.org |
| red hat enterprise linux 7 | red hat | — | — | CVE.org |
| red hat enterprise linux 8 | red hat | — | — | CVE.org |
| red hat enterprise linux 9 | red hat | — | — | CVE.org |
| red hat openshift container platform 5 | red hat | — | — | CVE.org |