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

- Severity: High 8.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-27T08:19:17.884Z
- Modified: 2026-11-30T16:17:15.303Z
- Weaknesses: CWE-281
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- flatpak: no versions given
- openshift/ose-rhel-coreos-10: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-133842> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2585329> (issue-tracking)
- <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://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r>
- <https://www.openwall.com/lists/oss-security/2026/11/24/15>

## Sources

- CVE List: [CVE-2026-133842](https://www.cve.org/CVERecord?id=CVE-2026-133842), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-133842](https://nvd.nist.gov/vuln/detail/CVE-2026-133842), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-133842 · Whole record: https://cve.day/CVE-2026-133842.json · Rebuilt by cve.day 2026-11-30T16:32:24.979Z
