Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.2CVE-2026-133842

Flatpak flatpak-system-helper: root privilege escalation via extra-data mechanism

Published 27/11/2026 · Updated 30/11/2026 · Red Hat Enterprise Linux 10

Summary

A flaw (CWE-281, Improper Preservation of Permissions) was found in 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 (e.g. with EMFILE). Affected Flatpak versions still report success without clearing setuid/setgid bits, leaving a setuid-root executable under /var/lib/flatpak.

CVSS 8.2 (High): the attack is local, low complexity, requires a low-privileged logged-in user and user interaction (e.g. installing or updating content). Scope is changed, with high impact on confidentiality, integrity and availability. An attacker who can install or update such content system-wide, or who already runs code as a local user in cooperation with that content, can escalate to root.

The vulnerability is not in the CISA KEV catalog; the EPSS exploitation probability is low (about 0.2%).

Who is affected

Organizations running Flatpak on Red Hat Enterprise Linux 7, 8, 9 and 10 and Red Hat OpenShift Container Platform 5, especially multi-user systems with system-wide Flatpak installations.

What to do

  1. Track the official Red Hat advisory (access.redhat.com/security/cve/CVE-2026-133842) and apply updated Flatpak packages once available; fixed RHEL versions are not listed in the record. Upstream Flatpak 1.18.6 contains the fixes (GHSA-p4mw-6jfq-r82r).
  2. Workaround: do not install untrusted apps, runtimes, or extensions system-wide.
  3. Keep the default Flatpak polkit rules so only root-equivalent users can perform system-wide installs; verify the rules have not been relaxed.
  4. Check exposure: list system-wide installations with 'flatpak list --system' and look for unexpected setuid/setgid files under /var/lib/flatpak.

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.

Original text from the vendor's CVE record.

Affected products and versions

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

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Required
Scope
Affects other components
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-281 Improper Preservation of Permissions

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.