Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21261

published high CVSS 3.1 · 7.3

Flatpak sandbox escape via spawn portal

Published
14 Jan 2021, 19:40:21 UTC
Updated
03 Aug 2024, 18:09:14 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
flatpak — flatpak>= 0.11.4, < 1.8.5 · >= 1.9.0, < 1.10.0 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2021-1597 Fixed Not stated Amazon Linux assessment
Alpine Linux edge flatpak Fixed 1.10.1-r0 Package fix record
Debian buster flatpak Advisory build 1.2.5-0+deb10u2 DSA-4830-1
Oracle Linux 7 flatpakaarch64 Advisory build 0:1.0.9-10.el7_9 ELSA-2021-0411
Red Hat Enterprise Linux RHEL-7 flatpakppc64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
SUSE / openSUSE SLE-15-SP1 flatpakaarch64 Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
Ubuntu bionic flatpak Advisory build 1.0.9-0ubuntu0.2 USN-4721-1
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.13 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.14 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.15 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.16 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.17 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.18 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.19 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.20 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.21 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.22 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.23 flatpak Fixed 1.10.1-r0 Package fix record
Alpine Linux v3.24 flatpak Fixed 1.10.1-r0 Package fix record
Oracle Linux 7 flatpakx86_64 Advisory build 0:1.0.9-10.el7_9 ELSA-2021-0411
Oracle Linux 8 flatpakaarch64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Oracle Linux 8 flatpakx86_64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Red Hat Enterprise Linux RHEL-7 flatpakppc64le Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpaks390x Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpaksrc Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpakx86_64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-8 flatpakaarch64 Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpakaarch64 Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpakaarch64 Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpakppc64le Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpakppc64le Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpakppc64le Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpaks390x Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpaks390x Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpaks390x Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpaksrc Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpaksrc Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpaksrc Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpakx86_64 Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpakx86_64 Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpakx86_64 Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
SUSE / openSUSE SLE-15-SP1 flatpakaarch64 Advisory build 1.2.3-150100.4.8.1 SUSE-SU-2022:3284-1
SUSE / openSUSE SLE-15-SP1 flatpakppc64le Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
SUSE / openSUSE SLE-15-SP1 flatpakppc64le Advisory build 1.2.3-150100.4.8.1 SUSE-SU-2022:3284-1
SUSE / openSUSE SLE-15-SP1 flatpaks390x Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
SUSE / openSUSE SLE-15-SP1 flatpaks390x Advisory build 1.2.3-150100.4.8.1 SUSE-SU-2022:3284-1
SUSE / openSUSE SLE-15-SP1 flatpakx86_64 Advisory build 1.2.3-150100.4.5.2 SUSE-SU-2022:2990-1
SUSE / openSUSE SLE-15-SP1 flatpakx86_64 Advisory build 1.2.3-150100.4.8.1 SUSE-SU-2022:3284-1
SUSE / openSUSE SLE-15-SP2 flatpakaarch64 Advisory build 1.10.2-4.6.1 SUSE-SU-2021:1094-1
SUSE / openSUSE SLE-15-SP2 flatpakppc64le Advisory build 1.10.2-4.6.1 SUSE-SU-2021:1094-1
SUSE / openSUSE SLE-15-SP2 flatpaks390x Advisory build 1.10.2-4.6.1 SUSE-SU-2021:1094-1
SUSE / openSUSE SLE-15-SP2 flatpakx86_64 Advisory build 1.10.2-4.6.1 SUSE-SU-2021:1094-1
SUSE / openSUSE openSUSE-Leap-15.2 flatpakx86_64 Advisory build 1.10.2-lp152.3.6.1 OPENSUSE-SU-2021:0520-1
SUSE / openSUSE openSUSE-Tumbleweed flatpakaarch64 Advisory build 1.11.3-1.2 OPENSUSE-SU-2024:10762-1
SUSE / openSUSE openSUSE-Tumbleweed flatpakppc64le Advisory build 1.11.3-1.2 OPENSUSE-SU-2024:10762-1
SUSE / openSUSE openSUSE-Tumbleweed flatpaks390x Advisory build 1.11.3-1.2 OPENSUSE-SU-2024:10762-1
SUSE / openSUSE openSUSE-Tumbleweed flatpakx86_64 Advisory build 1.11.3-1.2 OPENSUSE-SU-2024:10762-1
Ubuntu focal flatpak Advisory build 1.6.5-0ubuntu0.2 USN-4721-1
Oracle Linux 7 flatpak-builderaarch64 Advisory build 0:1.0.0-10.el7_9 ELSA-2021-0411
Oracle Linux 7 flatpak-builderx86_64 Advisory build 0:1.0.0-10.el7_9 ELSA-2021-0411
Oracle Linux 7 flatpak-develaarch64 Advisory build 0:1.0.9-10.el7_9 ELSA-2021-0411
Oracle Linux 7 flatpak-develx86_64 Advisory build 0:1.0.9-10.el7_9 ELSA-2021-0411
Oracle Linux 7 flatpak-libsaarch64 Advisory build 0:1.0.9-10.el7_9 ELSA-2021-0411
Oracle Linux 7 flatpak-libsx86_64 Advisory build 0:1.0.9-10.el7_9 ELSA-2021-0411
Oracle Linux 8 flatpak-libsaarch64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Oracle Linux 8 flatpak-libsx86_64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Oracle Linux 8 flatpak-selinuxaarch64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Oracle Linux 8 flatpak-selinuxx86_64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Oracle Linux 8 flatpak-session-helperaarch64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Oracle Linux 8 flatpak-session-helperx86_64 Advisory build 0:1.6.2-5.el8_3 ELSA-2021-0304
Red Hat Enterprise Linux RHEL-7 flatpak-builderppc64 Advisory build 1.0.0-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-builderppc64le Advisory build 1.0.0-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-builders390x Advisory build 1.0.0-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-builderx86_64 Advisory build 1.0.0-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfoppc64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfoppc64le Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfos390x Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-debuginfox86_64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-develppc64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-develppc64le Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-devels390x Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-develx86_64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-libsppc64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-libsppc64le Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-libss390x Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-7 flatpak-libsx86_64 Advisory build 1.0.9-10.el7_9 RHSA-2021:0411
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoaarch64 Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoaarch64 Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoaarch64 Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoi686 Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoi686 Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoi686 Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoppc64le Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoppc64le Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfoppc64le Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfos390x Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfos390x Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfos390x Advisory build 1.6.2-5.el8_3 RHSA-2021:0304
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfox86_64 Advisory build 1.0.9-3.el8_1 RHSA-2021:0306
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfox86_64 Advisory build 1.6.2-4.el8_2 RHSA-2021:0307
Red Hat Enterprise Linux RHEL-8 flatpak-debuginfox86_64 Advisory build 1.6.2-5.el8_3 RHSA-2021:0304

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. A bug was discovered in the `flatpak-portal` service that can allow sandboxed applications to execute arbitrary code on the host system (a sandbox escape). This sandbox-escape bug is present in versions from 0.11.4 and before fixed versions 1.8.5 and 1.10.0. The Flatpak portal D-Bus service (`flatpak-portal`, also known by its D-Bus service name `org.freedesktop.portal.Flatpak`) allows apps in a Flatpak sandbox to launch their own subprocesses in a new sandbox instance, either with the same security settings as the caller or with more restrictive security settings. For example, this is used in Flatpak-packaged web browsers such as Chromium to launch subprocesses that will process untrusted web content, and give those subprocesses a more restrictive sandbox than the browser itself. In vulnerable versions, the Flatpak portal service passes caller-specified environment variables to non-sandboxed processes on the host system, and in particular to the `flatpak run` command that is used to launch the new sandbox instance. A malicious or compromised Flatpak app could set environment variables that are trusted by the `flatpak run` command, and use them to execute arbitrary code that is not in a sandbox. As a workaround, this vulnerability can be mitigated by preventing the `flatpak-portal` service from starting, but that mitigation will prevent many Flatpak apps from working correctly. This is fixed in versions 1.8.5 and 1.10.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

28

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.3 / 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:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
flatpak flatpak >= 0.11.4, < 1.8.5 (affected)>= 1.9.0, < 1.10.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (GitHub_M · cna)

References

8

Provider assertions

2

GitHub_M · cna

Flatpak sandbox escape via spawn portal

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
74f87790d6d45ec01f3adf9d6bf1866a83789c2bdf080565aab56e40e9d57d55
Ingested
23 Sep 2026, 07:52:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected