CVE-2024-32462
published high CVSS 3.1 · 8.4Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| flatpak | — | flatpak< 1.10.9 · >= 1.12.0, < 1.12.9 · >= 1.14.0, < 1.14.6 · >= 1.15.0, < 1.15.8 | Affected | Not stated | GitHub_M |
| flatpak | — | flatpak1.15.0 to < 1.15.8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2538 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-611 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | flatpak | Advisory build | 1.12.9-1.el8_10 | ALSA-2024:3961 |
| Alpine Linux | edge | flatpak | Fixed | 1.14.6-r1 | Package fix record |
| Debian | bookworm | flatpak | Advisory build | 1.14.4-1+deb12u1 | DSA-5666-1 |
| Oracle Linux | 7 | flatpakaarch64 | Advisory build | 0:1.0.9-13.el7_9 | ELSA-2024-3980 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | flatpakppc64 | Advisory build | 1.0.9-13.el7_9 | RHSA-2024:3980 |
| SUSE / openSUSE | SLE-12-SP5 | flatpakaarch64 | Advisory build | 1.4.2-3.6.1 | SUSE-SU-2024:1548-1 |
| AlmaLinux | 9 | flatpak | Advisory build | 1.12.9-1.el9_4 | ALSA-2024:3959 |
| Alpine Linux | v3.17 | flatpak | Fixed | 1.14.6-r0 | Package fix record |
| Alpine Linux | v3.18 | flatpak | Fixed | 1.14.6-r0 | Package fix record |
| Alpine Linux | v3.19 | flatpak | Fixed | 1.14.6-r0 | Package fix record |
| Alpine Linux | v3.20 | flatpak | Fixed | 1.14.6-r1 | Package fix record |
| Alpine Linux | v3.21 | flatpak | Fixed | 1.14.6-r1 | Package fix record |
| Alpine Linux | v3.22 | flatpak | Fixed | 1.14.6-r1 | Package fix record |
| Alpine Linux | v3.23 | flatpak | Fixed | 1.14.6-r1 | Package fix record |
| Alpine Linux | v3.24 | flatpak | Fixed | 1.14.6-r1 | Package fix record |
| Debian | bullseye | flatpak | Advisory build | 1.10.8-0+deb11u2 | DSA-5666-1 |
| Oracle Linux | 7 | flatpakx86_64 | Advisory build | 0:1.0.9-13.el7_9 | ELSA-2024-3980 |
| Oracle Linux | 8 | flatpakaarch64 | Advisory build | 0:1.12.9-1.el8_10 | ELSA-2024-3961 |
| Oracle Linux | 8 | flatpakx86_64 | Advisory build | 0:1.12.9-1.el8_10 | ELSA-2024-3961 |
| Oracle Linux | 9 | flatpakaarch64 | Advisory build | 0:1.12.9-1.el9_4 | ELSA-2024-3959 |
| Oracle Linux | 9 | flatpakx86_64 | Advisory build | 0:1.12.9-1.el9_4 | ELSA-2024-3959 |
| Red Hat Enterprise Linux | RHEL-7 | flatpakppc64le | Advisory build | 1.0.9-13.el7_9 | RHSA-2024:3980 |
| Red Hat Enterprise Linux | RHEL-7 | flatpaks390x | Advisory build | 1.0.9-13.el7_9 | RHSA-2024:3980 |
| Red Hat Enterprise Linux | RHEL-7 | flatpaksrc | Advisory build | 1.0.9-13.el7_9 | RHSA-2024:3980 |
| Red Hat Enterprise Linux | RHEL-7 | flatpakx86_64 | Advisory build | 1.0.9-13.el7_9 | RHSA-2024:3980 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakaarch64 | Advisory build | 1.10.7-2.el8_8 | RHSA-2024:3962 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakaarch64 | Advisory build | 1.12.9-1.el8_10 | RHSA-2024:3961 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakaarch64 | Advisory build | 1.8.7-2.el8_6 | RHSA-2024:3969 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaki686 | Advisory build | 1.12.9-1.el8_10 | RHSA-2024:3961 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakppc64le | Advisory build | 1.10.7-2.el8_8 | RHSA-2024:3962 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakppc64le | Advisory build | 1.12.9-1.el8_10 | RHSA-2024:3961 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakppc64le | Advisory build | 1.8.5-5.el8_4 | RHSA-2024:3963 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakppc64le | Advisory build | 1.8.7-2.el8_6 | RHSA-2024:3969 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaks390x | Advisory build | 1.10.7-2.el8_8 | RHSA-2024:3962 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaks390x | Advisory build | 1.12.9-1.el8_10 | RHSA-2024:3961 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaks390x | Advisory build | 1.8.7-2.el8_6 | RHSA-2024:3969 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaksrc | Advisory build | 1.10.7-2.el8_8 | RHSA-2024:3962 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaksrc | Advisory build | 1.12.9-1.el8_10 | RHSA-2024:3961 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaksrc | Advisory build | 1.6.2-7.el8_2 | RHSA-2024:3979 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaksrc | Advisory build | 1.8.5-5.el8_4 | RHSA-2024:3963 |
| Red Hat Enterprise Linux | RHEL-8 | flatpaksrc | Advisory build | 1.8.7-2.el8_6 | RHSA-2024:3969 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakx86_64 | Advisory build | 1.10.7-2.el8_8 | RHSA-2024:3962 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakx86_64 | Advisory build | 1.12.9-1.el8_10 | RHSA-2024:3961 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakx86_64 | Advisory build | 1.6.2-7.el8_2 | RHSA-2024:3979 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakx86_64 | Advisory build | 1.8.5-5.el8_4 | RHSA-2024:3963 |
| Red Hat Enterprise Linux | RHEL-8 | flatpakx86_64 | Advisory build | 1.8.7-2.el8_6 | RHSA-2024:3969 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakaarch64 | Advisory build | 1.12.5-3.el9_0 | RHSA-2024:3970 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakaarch64 | Advisory build | 1.12.7-3.el9_2 | RHSA-2024:3960 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakaarch64 | Advisory build | 1.12.9-1.el9_4 | RHSA-2024:3959 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaki686 | Advisory build | 1.12.9-1.el9_4 | RHSA-2024:3959 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakppc64le | Advisory build | 1.12.5-3.el9_0 | RHSA-2024:3970 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakppc64le | Advisory build | 1.12.7-3.el9_2 | RHSA-2024:3960 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakppc64le | Advisory build | 1.12.9-1.el9_4 | RHSA-2024:3959 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaks390x | Advisory build | 1.12.5-3.el9_0 | RHSA-2024:3970 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaks390x | Advisory build | 1.12.7-3.el9_2 | RHSA-2024:3960 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaks390x | Advisory build | 1.12.9-1.el9_4 | RHSA-2024:3959 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaksrc | Advisory build | 1.12.5-3.el9_0 | RHSA-2024:3970 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaksrc | Advisory build | 1.12.7-3.el9_2 | RHSA-2024:3960 |
| Red Hat Enterprise Linux | RHEL-9 | flatpaksrc | Advisory build | 1.12.9-1.el9_4 | RHSA-2024:3959 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakx86_64 | Advisory build | 1.12.5-3.el9_0 | RHSA-2024:3970 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakx86_64 | Advisory build | 1.12.7-3.el9_2 | RHSA-2024:3960 |
| Red Hat Enterprise Linux | RHEL-9 | flatpakx86_64 | Advisory build | 1.12.9-1.el9_4 | RHSA-2024:3959 |
| SUSE / openSUSE | SLE-12-SP5 | flatpakppc64le | Advisory build | 1.4.2-3.6.1 | SUSE-SU-2024:1548-1 |
| SUSE / openSUSE | SLE-12-SP5 | flatpaks390x | Advisory build | 1.4.2-3.6.1 | SUSE-SU-2024:1548-1 |
| SUSE / openSUSE | SLE-12-SP5 | flatpakx86_64 | Advisory build | 1.4.2-3.6.1 | SUSE-SU-2024:1548-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpakaarch64 | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpakppc64le | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpaks390x | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP2 | flatpakx86_64 | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpakaarch64 | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpakppc64le | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpaks390x | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP3 | flatpakx86_64 | Advisory build | 1.10.8-150200.4.18.1 | SUSE-SU-2024:1547-1 |
| SUSE / openSUSE | SLE-15-SP4 | flatpakaarch64 | Advisory build | 1.12.8-150400.3.6.1 | SUSE-SU-2024:1535-1 |
| SUSE / openSUSE | SLE-15-SP4 | flatpakppc64le | Advisory build | 1.12.8-150400.3.6.1 | SUSE-SU-2024:1535-1 |
| SUSE / openSUSE | SLE-15-SP4 | flatpaks390x | Advisory build | 1.12.8-150400.3.6.1 | SUSE-SU-2024:1535-1 |
| SUSE / openSUSE | SLE-15-SP4 | flatpakx86_64 | Advisory build | 1.12.8-150400.3.6.1 | SUSE-SU-2024:1535-1 |
| SUSE / openSUSE | SLE-15-SP5 | flatpakaarch64 | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | SLE-15-SP5 | flatpakppc64le | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | SLE-15-SP5 | flatpaks390x | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | SLE-15-SP5 | flatpakx86_64 | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | flatpakaarch64 | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | flatpakppc64le | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | flatpaks390x | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | flatpakx86_64 | Advisory build | 1.14.5-150500.3.9.1 | SUSE-SU-2024:1536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpakaarch64 | Advisory build | 1.15.8-1.1 | OPENSUSE-SU-2024:13899-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpakppc64le | Advisory build | 1.15.8-1.1 | OPENSUSE-SU-2024:13899-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpaks390x | Advisory build | 1.15.8-1.1 | OPENSUSE-SU-2024:13899-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flatpakx86_64 | Advisory build | 1.15.8-1.1 | OPENSUSE-SU-2024:13899-1 |
| AlmaLinux | 8 | flatpak-devel | Advisory build | 1.12.9-1.el8_10 | ALSA-2024:3961 |
| AlmaLinux | 8 | flatpak-libs | Advisory build | 1.12.9-1.el8_10 | ALSA-2024:3961 |
| AlmaLinux | 8 | flatpak-selinux | Advisory build | 1.12.9-1.el8_10 | ALSA-2024:3961 |
| AlmaLinux | 8 | flatpak-session-helper | Advisory build | 1.12.9-1.el8_10 | ALSA-2024:3961 |
| AlmaLinux | 9 | flatpak-devel | Advisory build | 1.12.9-1.el9_4 | ALSA-2024:3959 |
| AlmaLinux | 9 | flatpak-libs | Advisory build | 1.12.9-1.el9_4 | ALSA-2024:3959 |
| AlmaLinux | 9 | flatpak-selinux | Advisory build | 1.12.9-1.el9_4 | ALSA-2024:3959 |
| AlmaLinux | 9 | flatpak-session-helper | Advisory build | 1.12.9-1.el9_4 | ALSA-2024:3959 |
| Oracle Linux | 7 | flatpak-builderaarch64 | Advisory build | 0:1.0.0-13.el7_9 | ELSA-2024-3980 |
| Oracle Linux | 7 | flatpak-builderx86_64 | Advisory build | 0:1.0.0-13.el7_9 | ELSA-2024-3980 |
| Oracle Linux | 7 | flatpak-develaarch64 | Advisory build | 0:1.0.9-13.el7_9 | ELSA-2024-3980 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. in versions before 1.10.9, 1.12.9, 1.14.6, and 1.15.8, a malicious or compromised Flatpak app could execute arbitrary code outside its sandbox. Normally, the `--command` argument of `flatpak run` expects to be given a command to run in the specified Flatpak app, optionally along with some arguments. However it is possible to instead pass `bwrap` arguments to `--command=`, such as `--bind`. It's possible to pass an arbitrary `commandline` to the portal interface `org.freedesktop.portal.Background.RequestBackground` from within a Flatpak app. When this is converted into a `--command` and arguments, it achieves the same effect of passing arguments directly to `bwrap`, and thus can be used for a sandbox escape. The solution is to pass the `--` argument to `bwrap`, which makes it stop processing options. This has been supported since bubblewrap 0.3.0. All supported versions of Flatpak require at least that version of bubblewrap. xdg-desktop-portal version 1.18.4 will mitigate this vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --. The vulnerability is patched in 1.15.8, 1.10.9, 1.12.9, and 1.14.6.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| flatpak | flatpak | < 1.10.9 (affected)>= 1.12.0, < 1.12.9 (affected)>= 1.14.0, < 1.14.6 (affected)>= 1.15.0, < 1.15.8 (affected) | GitHub_M · cna |
| flatpak | flatpak | 1.15.0 to < 1.15.8 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
8- http://www.openwall.com/lists/oss-security/2024/04/18/5
- https://github.com/flatpak/flatpak/commit/72016e3fce8fcbeab707daf4f1a02b931fcc004d
- https://github.com/flatpak/flatpak/commit/81abe2a37d363f5099c3d0bdcd0caad6efc5bf97
- https://github.com/flatpak/flatpak/commit/b7c1a558e58aaeb1d007d29529bbb270dc4ff11e
- https://github.com/flatpak/flatpak/commit/bbab7ed1e672356d1a78b422462b210e8e875931
- https://github.com/flatpak/flatpak/security/advisories/GHSA-phv6-cpc2-2fgj
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IB6VQAF5S2YOBULDHPUKPOEIKONOP5KO/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZFNSCFJVMAQK5AF55JBN7OSJP3CREDBD/
Provider assertions
3GitHub_M · cna
Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f27fc42d9bf4caeb1d2627601d17a51481a4ec2e4aed019cbace33360f9e3055
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record