TIOCLINUX can send commands outside sandbox if running on a virtual console
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Versions prior to 1.10.8, 1.12.8, 1.14.4, and 1.15.4 contain a vulnerability similar to CVE-2017-5226, but using the `TIOCLINUX` ioctl command instead of `TIOCSTI`. If a Flatpak app is run on a Linux virtual console such as `/dev/tty1`, it can copy text from the virtual console and paste it into the command buffer, from which the command might be run after the Flatpak app has exited. Ordinary graphical terminal emulators like xterm, gnome-terminal and Konsole are unaffected. This vulnerability is specific to the Linux virtual consoles `/dev/tty1`, `/dev/tty2` and so on. A patch is available in versions 1.10.8, 1.12.8, 1.14.4, and 1.15.4. As a workaround, don't run Flatpak on a Linux virtual console. Flatpak is primarily designed to be used in a Wayland or X11 graphical environment.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| flatpak | flatpak | before 1.10.8; 1.12.0 to before 1.12.8; 1.14.0 to before 1.14.4; 1.15.0 to before 1.15.4 | 1.10.8, 1.12.8, 1.14.4, 1.15.4 | Patch available | CNA |
- flatpak Vendorflatpak Affected before 1.10.8; 1.12.0 to before 1.12.8; 1.14.0 to before 1.14.4; 1.15.0 to before 1.15.4 Fixed in 1.10.8, 1.12.8, 1.14.4, 1.15.4 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* | before 1.10.8; 1.12.0 to before 1.12.8; 1.14.0 to before 1.14.4; 1.15.0 to before 1.15.4 | Vulnerable | flatpak |
- cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* Versions before 1.10.8; 1.12.0 to before 1.12.8; 1.14.0 to before 1.14.4; 1.15.0 to before 1.15.4 Vulnerable ·flatpak
Remediation
- Fix · CNA flatpak (flatpak) Fixed in 1.10.8, 1.12.8, 1.14.4, 1.15.4
Red Hat 2 advisories
- RHSA-2023:7038 Released 2023-11-14 · Red Hat rating Moderateflatpak security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) flatpak-1.10.8-1.el8, flatpak-devel-1.10.8-1.el8, flatpak-session-helper-1.10.8-1.el8
- Red Hat Enterprise Linux AppStream (v. 8) flatpak-1.10.8-1.el8, flatpak-libs-1.10.8-1.el8, flatpak-selinux-1.10.8-1.el8 +1
- RHSA-2023:6518 Released 2023-11-07 · Red Hat rating Moderateflatpak security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 9) flatpak-1.12.8-1.el9, flatpak-devel-1.12.8-1.el9, flatpak-session-helper-1.12.8-1.el9
- Red Hat Enterprise Linux AppStream (v. 9) flatpak-1.12.8-1.el9, flatpak-libs-1.12.8-1.el9, flatpak-selinux-1.12.8-1.el9 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2023:7038 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2023:6518 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:7038 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6518 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28100
References
More Flatpak vulnerabilities
- TI-2026-26401 Flatpak has a complete sandbox escape leading to host file access and code execution in the host context CVSS 4.0CRITICAL 9.3
- TI-2024-28440 Flatpak may allow access to files outside sandbox for certain apps CVSS 3.1CRITICAL 10.0
- TI-2026-26402 Flatpak affected by arbitrary file deletion on the host filesystem CVSS 4.0HIGH 8.7
- TI-2019-07389 Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a… CVSS 3.0CRITICAL 9.0
- TI-2021-19666 Permissions granted to applications can be hidden from the user at install time CVSS 3.1HIGH 8.6
- TI-2021-17972 Sandbox bypass via recent VFS-manipulating syscalls CVSS 3.1HIGH 8.8
Sources
- CVE-2023-28100 · CVE Program
- CVE-2023-28100 · NVD
- FIRST EPSS
- CVE-2023-28100 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences