Description
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 sandbox bypass. Flatpak versions since 0.8.1 address CVE-2017-5226 by using a seccomp filter to prevent sandboxed apps from using the TIOCSTI ioctl, which could otherwise be used to inject commands into the controlling terminal so that they would be executed outside the sandbox after the sandboxed app exits. This fix was incomplete: on 64-bit platforms, the seccomp filter could be bypassed by an ioctl request number that has TIOCSTI in its 32 least significant bits and an arbitrary nonzero value in its 32 most significant bits, which the Linux kernel would treat as equivalent to TIOCSTI.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | flatpak | 1.2.3-2 | — |
| Debian 13 | flatpak | 1.2.3-2 | — |
| Debian 12 | flatpak | 1.2.3-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | flatpak | 1.0.8-0ubuntu0.18.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | flatpak +1 | 1.0.6-3.el8_0 | RHSA-2019:1143 |
| RHEL 7 | flatpak +2 | 1.0.2-5.el7_6 | RHSA-2019:1024 |
| RHEL 7 | flatpak-builder | 1.0.0-5.el7_6 | RHSA-2019:1024 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | flatpak | 1.11.3-1.2 | openSUSE-SU-2024:10762-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | flatpak | 1.2.4-r0 | — |
| Alpine v3.23 | flatpak | 1.2.4-r0 | — |
| Alpine v3.22 | flatpak | 1.2.4-r0 | — |
| Alpine v3.21 | flatpak | 1.2.4-r0 | — |
| Alpine v3.20 | flatpak | 1.2.4-r0 | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | flatpak | 1.2.4-r0 | — |
| Alpine v3.18 | flatpak | 1.2.4-r0 | — |
| Alpine v3.17 | flatpak | 1.2.4-r0 | — |
| Alpine v3.16 | flatpak | 1.2.4-r0 | — |
| Alpine v3.15 | flatpak | 1.2.4-r0 | — |
| Alpine v3.14 | flatpak | 1.2.4-r0 | — |
| Alpine v3.13 | flatpak | 1.2.4-r0 | — |
| Alpine v3.12 | flatpak | 1.2.4-r0 | — |
| Alpine v3.11 | flatpak | 1.2.4-r0 | — |
| Alpine v3.10 | flatpak | 1.2.4-r0 | — |
| Alpine v3.9 | flatpak | 1.0.8-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | flatpak +2 | 1.0.2-5.amzn2.0.1 | ALAS2-2019-1219 |
| Amazon Linux 2 | flatpak-builder | 1.0.0-5.amzn2.0.1 | ALAS2-2019-1219 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | flatpak +1 | 1.0.6-3.el8_0 | ELSA-2019-1143 |
| Oracle Linux 7 | flatpak +2 | 1.0.2-5.el7_6 | ELSA-2019-1024 |
| Oracle Linux 7 | flatpak-builder | 1.0.0-5.el7_6 | ELSA-2019-1024 |
Advisories 6
- RHSA-2019:1024 Red Hat Security Advisory: flatpak security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2024:10762-1 flatpak-1.11.3-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2019:1143 Red Hat Security Advisory: flatpak security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- ELSA-2019-1143 Important: flatpak security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 30, 2019
- ALAS2-2019-1219 Important: flatpak security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 30, 2019
- ELSA-2019-1024 Important: flatpak security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 7, 2019
References
- https://github.com/flatpak/flatpak/issues/2782
- RHSA-2019:1024 vendor-advisory
- RHSA-2019:1143 vendor-advisory