{"schemaVersion":4,"id":"CVE-2026-133842","aliases":["DEBIAN-CVE-2026-133842","UBUNTU-CVE-2026-133842","ALPINE-CVE-2026-133842"],"status":"published","duplicateOf":null,"title":"Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile","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.","dates":{"published":"2026-11-27T08:19:17.884Z","modified":"2026-11-30T15:37:15.772Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":3.8,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":3.8,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":3.8,"impact":10,"computed":true}]},"epss":{"probability":0.00283,"percentile":0.22346,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00225,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00225,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00225,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00283,"percentile":0.22346}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00233,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00225,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00225,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00225,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00283,"percentile":0.22346}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-281","name":"Improper Preservation of Permissions","description":"The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/281.html"}],"affected":[{"vendor":"alpine","product":"flatpak","name":"flatpak","label":"flatpak","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/flatpak","purlType":"apk","versions":[{"text":"< 1.16.6_git20261120-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.16.6_git20261120-r0","endInclusive":false}}],"versionsText":"< 1.16.6_git20261120-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"flatpak","name":"flatpak","label":"flatpak","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/flatpak","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1.16.6-1~deb13u4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.16.6-1~deb13u4","endInclusive":false}},{"text":"< 1.18.6-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.18.6-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1.16.6-1~deb13u4 | < 1.18.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"flatpak","name":"flatpak","label":"flatpak","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/flatpak","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-133842","label":"security-tracker.debian.org/tracker/CVE-2026-133842","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-133842","label":"ubuntu.com/security/CVE-2026-133842","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-133842","label":"www.cve.org/CVERecord?id=CVE-2026-133842","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r","label":"github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r","hostname":"github.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-133842","label":"access.redhat.com/security/cve/CVE-2026-133842","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2585329","label":"bugzilla.redhat.com/show_bug.cgi?id=2585329","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8","label":"github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8","hostname":"github.com","tags":[]},{"url":"https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c","label":"github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c","hostname":"github.com","tags":[]},{"url":"https://github.com/flatpak/flatpak/releases/tag/1.18.6","label":"github.com/flatpak/flatpak/releases/tag/1.18.6","hostname":"github.com","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2026/11/24/15","label":"www.openwall.com/lists/oss-security/2026/11/24/15","hostname":"www.openwall.com","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-133842","label":"security.alpinelinux.org/vuln/CVE-2026-133842","hostname":"security.alpinelinux.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-6655-1","MGASA-2026-0616","OPENSUSE-SU-2026:12682-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12682-1"]},"timeline":[{"kind":"published","date":"2026-11-27T08:19:17.884Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-30T15:37:15.772Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.2, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,82],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00283,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-30T15:37:15.772Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-30T15:37:15.772Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-30T15:37:15.772Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_alpine","date":"2026-11-30T15:37:15.772Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-30T15:37:15.772Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-30T15:36:51.642Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00283,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:58:57.756Z","stale":false,"partial":false}}