{"id":"CVE-2026-133842","summary":"Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile","details":"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.","aliases":["GHSA-p4mw-6jfq-r82r"],"modified":"2026-11-27T10:00:09.293220042Z","published":"2026-11-27T08:19:17.884Z","related":["openSUSE-SU-2026:12682-1"],"database_specific":{"cwe_ids":["CWE-281"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133842.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-133842"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2585329"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133842.json"},{"type":"FIX","url":"https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8"},{"type":"FIX","url":"https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c"},{"type":"WEB","url":"https://github.com/flatpak/flatpak/releases/tag/1.18.6"},{"type":"ADVISORY","url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133842"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2026/11/24/15"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/flatpak/flatpak","events":[{"introduced":"0"},{"fixed":"a21a102e10d63da3251421b17a60b977e6c4b5c8"},{"fixed":"d087606b9a041f3b0debe44a9b9c3beab28b6e6c"},{"fixed":"7a986ba376d9e2fd8857b0afcdf5d171ef733b1f"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"a21a102e10d63da3251421b17a60b977e6c4b5c8"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d087606b9a041f3b0debe44a9b9c3beab28b6e6c"}]},{"original_tag":"1.18.6","range":[{"fixed":"7a986ba376d9e2fd8857b0afcdf5d171ef733b1f"}],"source":"REFERENCES_TAG"}]}}],"versions":["1.18.4","1.18.3","1.18.2","1.18.1","1.18.0","1.17.7","1.17.6","1.17.5","1.17.4","1.17.3","1.17.2","1.17.1","1.17.0","1.16.1","1.16.0","1.15.91","1.15.12","1.15.11","1.15.10","1.15.9","1.15.8","1.15.7","1.15.6","1.15.4","1.15.3","1.15.2","1.15.1","1.15.0","1.14.0","1.13.3","1.13.2","1.13.1","1.11.2","1.12.0","1.11.3","1.11.1","1.10.1","1.10.0","1.9.3","1.9.2","1.9.1","1.8.0","1.7.3","1.7.2","1.7.1","1.6.2","1.6.1","1.6.0","1.5.2","1.5.1","1.5.0","1.4.0","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0","1.2.1","1.2.0","1.1.3","1.1.2","1.1.1","1.1.0","1.0.3","1.0.2","1.0.1","1.0.0","0.99.3","0.99.2","0.99.1","0.11.8.3","0.11.8.2","0.11.8.1","0.11.8","0.11.7","0.11.6","0.11.5","0.11.4","0.11.3","0.11.2","0.11.1","0.10.2","0.10.1","0.10.0","0.9.99","0.9.98.2","0.9.98.1","0.9.98","0.9.12","0.9.11","0.9.10","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.8.1","0.8.0","0.6.14","0.6.13","0.6.12","0.6.11","0.6.10","0.6.9","0.6.8","0.6.7","0.6.6","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.2","0.5.1","0.5.0","0.4.13","0.4.12","0.4.11","0.4.10","0.4.9","0.4.8","0.4.7","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2.1","0.4.2","0.4.1","0.4.0","0.3.6","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1","0.3","0.2.1","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133842.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"}]}