CVE-2026-133845

Flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal spawn()

Published Nov 27, 2026 CVSS 3.1 · 7.3 High EPSS n/a KEV · Not listed
Description
A flaw was found in Flatpak’s flatpak-portal. When a sandboxed application invokes Spawn() and maps two different file descriptors to the same handle, dup2() can fail. Affected Flatpak versions do not handle that failure, so a file descriptor that was open inside flatpak-portal (commonly the unfiltered D-Bus session bus) can be passed into the subsandbox. A malicious or compromised Flatpak app with no special privileges can use this to escape the sandbox.

Analysis

AI-generated

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.

Remediation

Vendor Workaround

Do not install or run untrusted Flatpak apps.


OpenCVE Recommended Actions

  • Update Flatpak to the latest patched version (such as 1.18.6 or later) from Red Hat repositories.
  • Ensure the system’s package manager pulls the latest Flatpak-portal updates and that no older binaries remain installed.
  • Avoid installing or running untrusted Flatpak applications; only use apps from trusted sources.

Generated by OpenCVE AI on November 27, 2026 at 09:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A flaw was found in Flatpak’s flatpak-portal. When a sandboxed application invokes Spawn() and maps two different file descriptors to the same handle, dup2() can fail. Affected Flatpak versions do not handle that failure, so a file descriptor that was open inside flatpak-portal (commonly the unfiltered D-Bus session bus) can be passed into the subsandbox. A malicious or compromised Flatpak app with no special privileges can use this to escape the sandbox.
Title Flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal spawn()
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
Weaknesses CWE-252
CPEs cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 27, 2026, 8:19 AM
Reserved
Nov 20, 2026, 2:38 PM
Status
Awaiting Analysis
Published
Nov 27, 2026, 9:17 AM
Modified
Nov 27, 2026, 9:17 AM