CVE-2026-133842

Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile

Published Nov 27, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Do not install untrusted apps, runtimes, or extensions system-wide. Keep default Flatpak polkit rules so only root-equivalent users can perform system-wide installs.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Flatpak
Flatpak flatpak
Red Hat
Red Hat enterprise Linux
Red Hat red Hat Openshift Container Platform 5
Redhat red Hat Openshift Container Platform 5
Vendors & Products Flatpak
Flatpak flatpak
Red Hat
Red Hat enterprise Linux
Red Hat red Hat Openshift Container Platform 5
Redhat red Hat Openshift Container Platform 5
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
Weaknesses CWE-281
CPEs cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}