Technical impact
Flatpak’s flatpak-portal permits a sandboxed application to invoke Spawn() with two different file descriptors mapped to the same handle. When dup2() fails, the application does not handle the error, allowing a file descriptor that was open inside flatpak-portal (typically the unfiltered D‑Bus session bus) to be passed into the subsandbox. This flaw enables a malicious or compromised Flatpak app, even without elevated privileges, to escape its sandbox and potentially execute code in the host environment. The impact is a loss of isolation, granting the attacker unauthorized access to system resources, data, and control.
Affected Systems
Red Hat Red Hat Enterprise Linux 7, 8, 9, 10 and Red Hat OpenShift Container Platform 5 running Flatpak. These distributions are affected by the flaw in their shipped Flatpak installation.
Risk and Exploitability
The CVSS score of 7.3 indicates a high severity vulnerability. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalog. The attack vector is local: a user or attacker who can run an untrusted Flatpak application inside the container can exploit the flaw. Because the flaw relies on dup2() failure handling within flatpak-portal, the attack does not require network or elevated privileges, making it relatively easy for anyone capable of installing a malicious Flatpak package.