Skip to main content
Menu
CVEs

Red Hat sandbox escape in flatpak-portal

CVE-2026-133845Published , updated

7.3HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.18.6, 1.19.4
Who is exposed
Specific setups only

Summary

Flatpak, as shipped in Red Hat Enterprise Linux and Red Hat OpenShift Container Platform, has a flaw in its flatpak-portal component. A local attacker with low privileges, who needs a user to take an action, can use a malicious or compromised sandboxed app to escape the sandbox through a file descriptor conflict in Spawn().

Written by a model

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

Who should check

Teams running Flatpak on Linux hosts, including Red Hat Enterprise Linux systems, where untrusted or third-party Flatpak apps may be installed.

“Affected Flatpak versions do not handle that failure”

access.redhat.com

What to do

  1. Check whether your setup matches what the bug needs.

    A sandboxed Flatpak app calls flatpak-portal Spawn() and maps two different file descriptors to the same handle, so dup2() fails. Flatpak versions before the fixes in 1.18.6 and 1.19.4 are affected.
  2. Upgrade to a fixed version: 1.18.6, 1.19.4.

  3. Workaround: Do not install or run untrusted Flatpak apps.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-133845 (Flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal spawn()), 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-133845 (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):
- A sandboxed Flatpak app calls flatpak-portal Spawn() and maps two different file descriptors to the same handle, so dup2() fails. (source: https://access.redhat.com/security/cve/cve-2026-133845)
- Flatpak versions before the fixes in 1.18.6 and 1.19.4 are affected. (source: https://bugzilla.redhat.com/show_bug.cgi?id=2585333)
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 or run untrusted Flatpak apps. (source: https://bugzilla.redhat.com/show_bug.cgi?id=2585333)
CISA KEV: CVE-2026-133845 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133845 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=2585333
- https://access.redhat.com/security/cve/CVE-2026-133845
- https://github.com/flatpak/flatpak/releases/tag/1.18.6
- https://github.com/flatpak/flatpak/security/advisories/GHSA-5jrj-948r-2wx6
- https://www.openwall.com/lists/oss-security/2026/11/24/15
- https://access.redhat.com/security/cve/cve-2026-133845
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-133845
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-133845"}.

Affected versions

cve.now Index

22Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach10/20Shipped in major Linux distributions
  • Severity7.3/10CVSS 7.3
  • No patch0/5No signal

What would change the score

  • Would score about 72 if added to CISA KEV
  • Would score about 67 if CISA's SSVC rates exploitation active
  • Would score about 32 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 7

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · flatpak/flatpak · Advisory GHSA-5jrj-948r-2wx6
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-133845
RecordNVD · CVE-2026-133845
Write-ups 2Establishes: Technical detail and context.
Reportbugzilla.redhat.com · show_bug.cgi?id=2585333
Linkopenwall.com · lists/oss-security/2026/11/24/15
Other links 2
RepositoryGitHub · flatpak/flatpak · Release 1.18.6
Linkaccess.redhat.com · security/cve/CVE-2026-133845

Questions about CVE-2026-133845

Is CVE-2026-133845 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: cve.now feed data

What does this mean?

A sandboxed Flatpak app that calls flatpak-portal Spawn() and maps two different file descriptors to the same handle can make dup2() fail. This lets a malicious or compromised app escape its sandbox and reach host-session resources such as the unfiltered D-Bus session bus.

Source: access.redhat.com, bugzilla.redhat.com

Am I affected, and how do I check?

Flatpak versions before 1.18.6 and 1.19.4 are affected, in the setup where a sandboxed app calls flatpak-portal Spawn() with two different file descriptors mapped to the same handle. Check your Flatpak version with the command flatpak --version to compare it against the fixed releases.

Source: access.redhat.com, bugzilla.redhat.com

How do I fix CVE-2026-133845?

Upgrade Flatpak to 1.18.6 or 1.19.4, the fixed versions named for this vulnerability. Until you can upgrade, do not install or run untrusted Flatpak apps.

Source: access.redhat.com, bugzilla.redhat.com

No corrections so far. Something wrong on this page? Report an error.