Flatpak: flatpak: sandbox escape via fd conflict in flatpak-portal spawn()
- State
- Published
- Severity
- 7.3 High
- Published
- Nov 27, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 20, 2026
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.
| Product | Versions |
|---|---|
| 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 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.3 High | redhat |
Weaknesses
- CWE-252 Unchecked Return Value
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.