# CVE-2026-133842: Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile

- Priority: **Routine**
- Reason: Not severe (CVSS 8.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-27 · Modified: 2026-11-30
- Aliases: DEBIAN-CVE-2026-133842, UBUNTU-CVE-2026-133842, ALPINE-CVE-2026-133842
- Record: https://cvemate.com/vulnerability/CVE-2026-133842 · JSON: https://cvemate.com/vulnerability/CVE-2026-133842/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.283%, percentile 22.346%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine flatpak (Alpine Linux): \< 1.16.6\_git20261120-r0
- debian flatpak (Debian): All versions (No fix recorded) \| \< 1.16.6-1~deb13u4 \| \< 1.18.6-1
- ubuntu flatpak (Ubuntu): All versions (No fix recorded)

## References

- <https://security-tracker.debian.org/tracker/CVE-2026-133842>
- <https://ubuntu.com/security/CVE-2026-133842>
- <https://www.cve.org/CVERecord?id=CVE-2026-133842>
- <https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r>
- <https://access.redhat.com/security/cve/CVE-2026-133842>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2585329>
- <https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8>
- <https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c>
- <https://github.com/flatpak/flatpak/releases/tag/1.18.6>
- <https://www.openwall.com/lists/oss-security/2026/11/24/15>
- <https://security.alpinelinux.org/vuln/CVE-2026-133842>

---

Data as of 2026-12-05T06:29:22.864Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
