CVE-2026-133842

high

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.

References

https://www.openwall.com/lists/oss-security/2026/11/24/15

https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r

https://github.com/flatpak/flatpak/releases/tag/1.18.6

https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c

https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137056

https://bugzilla.redhat.com/show_bug.cgi?id=2585329

https://access.redhat.com/security/cve/CVE-2026-133842

Details

Source: Mitre, NVD

Published: 2026-11-27

Updated: 2026-11-27

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.2

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

Severity: High