CVE-2026-133842
Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile
- Severity
- high CVSS 8.2 (v3.1)
- Affects
- Red Hat Enterprise Linux 10 · Red Hat
- Weakness
- CWE-281: Improper Preservation of Permissions
- Published
- 27 November 2026 by redhat
- First seen on our lists
- 24 November 2026
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.
Our coverage
On the lists
- [oss-security] Flatpak 1.18.6 fixes two security vulnerabilities