CVE-2026-133842
Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile
- CVSS
- 8.2
- EPSS
- 0.23% (p9)
- Published
- 2026-11-27
- Age
- 1d old
- Modified
- 2026-11-27
- Product
- Red Hat Red Hat Enterprise Linux 10
- Aliases
- GHSA-p4mw-6jfq-r82r
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
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.
Sources
- NVD · first seen 1d ago · NVD terms of use
- OSV · first seen 1d ago · CC-BY 4.0
- CVE List · first seen 1d ago · CVE Terms of Use
References
- https://access.redhat.com/security/cve/CVE-2026-133842 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2585329 issue-tracking
- https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8 other
- https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c other
- https://github.com/flatpak/flatpak/releases/tag/1.18.6 other
- https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r other
- https://www.openwall.com/lists/oss-security/2026/11/24/15 other
- https://access.redhat.com/downloads/content/package-browser/ web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133842.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-133842 advisory