Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.3CVE-2026-133845

Flatpak flatpak-portal: sandbox escape via file descriptor conflict in Spawn()

Published 27/11/2026 · Updated 01/12/2026 · Red Hat Enterprise Linux 10

Summary

A flaw (CWE-252, Unchecked Return Value) was found in Flatpak's flatpak-portal. When a sandboxed app calls Spawn() and maps two different file descriptors to the same handle, dup2() can fail. Affected Flatpak versions do not handle that failure, so a descriptor open inside flatpak-portal (commonly the unfiltered D-Bus session bus) can be passed into the subsandbox.

Per the CVSS vector (7.3, high), the attack is local, low complexity, requires low privileges (a running Flatpak app with no special permissions) and user interaction, such as installing or launching a malicious app. A malicious or compromised app can escape the sandbox, with high impact on confidentiality, integrity and availability of the user's data.

The vulnerability is not in the CISA KEV catalog, and the EPSS exploitation probability is low (about 0.25%).

Who is affected

Organizations using Flatpak applications on Red Hat Enterprise Linux 7, 8, 9 and 10, Red Hat OpenShift Container Platform 5, or other Linux systems.

What to do

  1. Check the official Red Hat advisory (access.redhat.com/security/cve/CVE-2026-133845) and apply updated flatpak packages as soon as they are available for your release.
  2. For upstream Flatpak, review release 1.18.6 and advisory GHSA-5jrj-948r-2wx6 and confirm the fix availability for your distribution.
  3. Vendor workaround: do not install or run untrusted Flatpak apps.
  4. Check exposure: identify systems with flatpak installed (e.g. rpm -q flatpak), list installed apps (flatpak list) and remove unknown or unneeded ones.

Vendor workaround

Do not install or run untrusted Flatpak apps.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 7
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat OpenShift Container Platform 5

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.