{"id":"CVE-2026-133842","aliases":["GHSA-p4mw-6jfq-r82r"],"title":"Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile","originalDescription":"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.","severity":{"cvss":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00233,"percentile":0.08532},"exploitDb":null},"affected":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-133842","type":"vdb-entry"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2585329","type":"issue-tracking"},{"url":"https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8","type":"other"},{"url":"https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c","type":"other"},{"url":"https://github.com/flatpak/flatpak/releases/tag/1.18.6","type":"other"},{"url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r","type":"other"},{"url":"https://www.openwall.com/lists/oss-security/2026/11/24/15","type":"other"},{"url":"https://access.redhat.com/downloads/content/package-browser/","type":"web"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133842.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133842","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T09:18:05.376Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133842","license":"NVD terms of use","firstSeenAt":"2026-11-27T09:18:05.376Z"},{"name":"osv","at":"2026-11-27T10:57:41.343Z","url":"https://osv.dev/vulnerability/CVE-2026-133842","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T10:24:48.933Z"},{"name":"cvelistV5","at":"2026-11-28T16:04:13.302Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133842","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T08:42:29.315Z"}],"firstSeenAt":"2026-11-27T08:42:29.315Z","publishedAt":"2026-11-27T08:19:17.884Z","modifiedAt":"2026-11-27T10:00:09.293Z"}