# CVE-2026-133845: Flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal spawn()

Status: published. Published: 2026-11-27. Updated: 2026-11-27.

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.

## Remediation

- workaround: Do not install or run untrusted Flatpak apps. (source: CNA: redhat)
- fix: Flatpak (freedesktop.org): GitHub reports patched versions 1.18.6, 1.19.4. Check the advisory for the affected release branch. (source: GitHub GHSA-5jrj-948r-2wx6) — https://github.com/flatpak/flatpak/security/advisories/GHSA-5jrj-948r-2wx6

## Affected products and versions

- Red Hat / Red Hat Enterprise Linux 10 (flatpak): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (flatpak): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (flatpak): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (flatpak): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 5 (openshift/ose-rhel-coreos-10): Version range not reported. Source: CNA: redhat
-  / Flatpak (Flatpak): all < 1.18.5; 1.19.x < 1.19.3 (affected, GitHub advisory range). Source: GitHub GHSA-5jrj-948r-2wx6

## Severity and prioritization

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-252

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/security/cve/CVE-2026-133845 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2585333 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://github.com/flatpak/flatpak/releases/tag/1.18.6 (CNA: redhat)

- https://github.com/flatpak/flatpak/security/advisories/GHSA-5jrj-948r-2wx6 (CNA: redhat)

- https://www.openwall.com/lists/oss-security/2026/11/24/15 (CNA: redhat)

- https://github.com/flatpak/flatpak/security/advisories/GHSA-5jrj-948r-2wx6 (GitHub Security Advisories; advisory)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-133845; retrieved 2026-11-27; source updated 2026-11-27

- GitHub Security Advisories: https://github.com/flatpak/flatpak/security/advisories/GHSA-5jrj-948r-2wx6; retrieved 2026-11-27; source updated 2026-11-26

Revision: 4178ae22d2b07147a252fd26bbb0b9ec4dd16749ee5f0587bd81190a718c2851

Canonical: https://y2.dev/cve/CVE-2026-133845

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.