CVE-2023-28100: Flatpak - Privilege Escalation
- Cve: CVE-2023-28100
- Name: Flatpak - Privilege Escalation
- Description: 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.
- Impact: Local attackers can copy console text and potentially execute commands, leading to privilege escalation or code execution.
- Remediation: Update to version 1.10.8, 1.12.8, 1.14.4, or 1.15.4 or later.
- Vulnerability type: privilege_escalation
- Vulnerability impact: privilege_escalation, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
- Epss score: 0.00878
- Epss percentile: 0.59971
- Assignee: [email protected]
- Published at: 2023-03-16T16:15:12Z
- Age in days: 1349
- Modified at: 2026-06-17T05:46:52Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-28100
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| flatpak:flatpak | >= 1.15.0, < 1.15.4; >= 1.14.0, < 1.14.4; >= 1.12.0, < 1.12.8; < 1.10.8 | no | nvd | /v1/products/flatpak/flatpak |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| flatpak/flatpak | commit, fix, security_advisory | yes | /v1/repositories/flatpak/flatpak |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts