CVE-2021-21261
Flatpak sandbox escape via spawn portal
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.3
Flatpak sandbox escape via spawn portal
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.
- Record
CVE-2021-21261- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - Weakness
- CWE-74
- Updated
- 2026-11-02
EUVDEUVD-2021-8642
7.3
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.
- Record
EUVD-2021-8642- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - Updated
- 2026-11-03
NVD
7.3
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.
- Record
CVE-2021-21261- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-74
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-21261
8.8
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.
- Record
ALPINE-CVE-2021-21261- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
8.8
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.
- Record
CVE-2021-21261- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-21261
8.8
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.
- Record
DEBIAN-CVE-2021-21261- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
Show 13 moreShow less
OSVOESA-2021-1043
8.8
flatpak security update
flatpak is a system for building, distributing and running sandboxed desktop applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for more information.
Security Fix(es):
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.9.4. 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.9.4.(CVE-2021-21261)
- Record
OESA-2021-1043- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:0304
8.8
Red Hat Security Advisory: flatpak security update
- Record
RHSA-2021:0304- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:0306
8.8
Red Hat Security Advisory: flatpak security update
- Record
RHSA-2021:0306- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:0307
8.8
Red Hat Security Advisory: flatpak security update
- Record
RHSA-2021:0307- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:0411
8.8
Red Hat Security Advisory: flatpak security update
- Record
RHSA-2021:0411- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-21261
8.8
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.
- Record
UBUNTU-CVE-2021-21261- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - Updated
- 2026-11-02
OSVMGASA-2021-0143 No score
Updated flatpak packages fix security vulnerabilities
Sandbox escape where a malicious application can execute code outside the sandbox by controlling the environment of the "flatpak run" command when spawning a sub-sandbox (CVE-2021-21261).
A potential attack where a flatpak application could use custom formatted .desktop files to gain access to files on the host system (CVE-2021-21381).
The update also removes the unnecessary flatpak-tests subpackage.
- Record
MGASA-2021-0143- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0520-1 No score
Security update for flatpak, libostree, xdg-desktop-portal, xdg-desktop-portal-gtk
This update for flatpak, libostree, xdg-desktop-portal, xdg-desktop-portal-gtk fixes the following issues:
libostree:
Update to version 2020.8
-
Enable LTO. (bsc#1133120)
-
This update contains scalability improvements and bugfixes.
-
Caching-related HTTP headers are now supported on summaries and signatures, so that they do not have to be re-downloaded if not changed in the meanwhile.
-
Summaries and delta have been reworked to allow more fine-grained fetching.
-
Fixes several bugs related to atomic variables, HTTP timeouts, and 32-bit architectures.
-
Static deltas can now be signed to more easily support offline verification.
-
There's now support for multiple initramfs images; Is it possible to have a 'main' initramfs image and a secondary one which represents local configuration.
-
The documentation is now moved to https://ostreedev.github.io/ostree/
-
Fix for an assertion failure when upgrading from systems before ostree supported devicetree.
-
ostree no longer hardlinks zero sized files to avoid hitting filesystem maximum link counts.
-
ostree now supports
/and/bootbeing on the same filesystem. -
Improvements to the GObject Introspection metadata, some (cosmetic) static analyzer fixes, a fix for the immutable bit on s390x, dropping a deprecated bit in the systemd unit file.
-
Fix a regression 2020.4 where the 'readonly sysroot' changes incorrectly left the sysroot read-only on systems that started out with a read-only
/(most of them, e.g. Fedora Silverblue/IoT at least). -
The default dracut config now enables reproducibility.
-
There is a new ostree admin unlock
--transient. This should to be a foundation for further support for 'live' updates. -
New
ed25519signing support, powered bylibsodium. -
stree commit gained a new
--baseargument, which significantly simplifies constructing 'derived' commits, particularly for systems using SELinux. -
Handling of the read-only sysroot was reimplemented to run in the initramfs and be more reliable. Enabling the
readonly=trueflag in the repo config is recommended. -
Several fixes in locking for the temporary 'staging' directories OSTree creates, particularly on NFS.
-
A new
timestamp-check-from-revoption was added for pulls, which makes downgrade protection more reliable and will be used by Fedora CoreOS. -
Several fixes and enhancements made for 'collection' pulls including a new
--mirroroption. -
The ostree commit command learned a new
--mode-ro-executableswhich enforcesW^Rsemantics on all executables. -
Added a new commit metadata key
OSTREE_COMMIT_META_KEY_ARCHITECTUREto help standardize the architecture of the OSTree commit. This could be used on the client side for example to sanity-check that the commit matches the architecture of the machine before deploying. -
Stop invalid usage of
%_libexecdir:- Use
%{_prefix}/libwhere appropriate. - Use
_systemdgeneratordirfor the systemd-generators. - Define
_dracutmodulesdirbased ondracut.pc. Add BuildRequires(dracut) for this to work.
- Use
xdg-desktop-portal:
Update to version 1.8.0:
- Ensure systemd rpm macros are called at install/uninstall times for systemd user services.
- Add BuildRequires on systemd-rpm-macros.
- openuri:
- Allow skipping the chooser for more URL tyles
- Robustness fixes
- filechooser:
- Return the current filter
- Add a 'directory' option
- Document the 'writable' option
- camera:
- Make the client node visible
- Don't leak pipewire proxy
- Fix file descriptor leaks
- Testsuite improvements
- Updated translations.
- document:
- Reduce the use of open fds
- Add more tests and fix issues they found
- Expose directories with their proper name
- Support exporting directories
- New fuse implementation
- background: Avoid a segfault
- screencast: Require pipewire 0.3
- Better support for snap and toolbox
- Require
/usr/bin/fusermount:xdg-document-portalcalls out to the binary. (bsc#1175899)…
- Record
openSUSE-SU-2021:0520-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10762-1 No score
flatpak-1.11.3-1.2 on GA media
These are all security issues fixed in the flatpak-1.11.3-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10762-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1094-1 No score
Security update for flatpak, libostree, xdg-desktop-portal, xdg-desktop-portal-gtk
This update for flatpak, libostree, xdg-desktop-portal, xdg-desktop-portal-gtk fixes the following issues:
libostree:
Update to version 2020.8
-
Enable LTO. (bsc#1133120)
-
This update contains scalability improvements and bugfixes.
-
Caching-related HTTP headers are now supported on summaries and signatures, so that they do not have to be re-downloaded if not changed in the meanwhile.
-
Summaries and delta have been reworked to allow more fine-grained fetching.
-
Fixes several bugs related to atomic variables, HTTP timeouts, and 32-bit architectures.
-
Static deltas can now be signed to more easily support offline verification.
-
There's now support for multiple initramfs images; Is it possible to have a 'main' initramfs image and a secondary one which represents local configuration.
-
The documentation is now moved to https://ostreedev.github.io/ostree/
-
Fix for an assertion failure when upgrading from systems before ostree supported devicetree.
-
ostree no longer hardlinks zero sized files to avoid hitting filesystem maximum link counts.
-
ostree now supports
/and/bootbeing on the same filesystem. -
Improvements to the GObject Introspection metadata, some (cosmetic) static analyzer fixes, a fix for the immutable bit on s390x, dropping a deprecated bit in the systemd unit file.
-
Fix a regression 2020.4 where the 'readonly sysroot' changes incorrectly left the sysroot read-only on systems that started out with a read-only
/(most of them, e.g. Fedora Silverblue/IoT at least). -
The default dracut config now enables reproducibility.
-
There is a new ostree admin unlock
--transient. This should to be a foundation for further support for 'live' updates. -
New
ed25519signing support, powered bylibsodium. -
stree commit gained a new
--baseargument, which significantly simplifies constructing 'derived' commits, particularly for systems using SELinux. -
Handling of the read-only sysroot was reimplemented to run in the initramfs and be more reliable. Enabling the
readonly=trueflag in the repo config is recommended. -
Several fixes in locking for the temporary 'staging' directories OSTree creates, particularly on NFS.
-
A new
timestamp-check-from-revoption was added for pulls, which makes downgrade protection more reliable and will be used by Fedora CoreOS. -
Several fixes and enhancements made for 'collection' pulls including a new
--mirroroption. -
The ostree commit command learned a new
--mode-ro-executableswhich enforcesW^Rsemantics on all executables. -
Added a new commit metadata key
OSTREE_COMMIT_META_KEY_ARCHITECTUREto help standardize the architecture of the OSTree commit. This could be used on the client side for example to sanity-check that the commit matches the architecture of the machine before deploying. -
Stop invalid usage of
%_libexecdir:- Use
%{_prefix}/libwhere appropriate. - Use
_systemdgeneratordirfor the systemd-generators. - Define
_dracutmodulesdirbased ondracut.pc. Add BuildRequires(dracut) for this to work.
- Use
xdg-desktop-portal:
Update to version 1.8.0:
- Ensure systemd rpm macros are called at install/uninstall times for systemd user services.
- Add BuildRequires on systemd-rpm-macros.
- openuri:
- Allow skipping the chooser for more URL tyles
- Robustness fixes
- filechooser:
- Return the current filter
- Add a 'directory' option
- Document the 'writable' option
- camera:
- Make the client node visible
- Don't leak pipewire proxy
- Fix file descriptor leaks
- Testsuite improvements
- Updated translations.
- document:
- Reduce the use of open fds
- Add more tests and fix issues they found
- Expose directories with their proper name
- Support exporting directories
- New fuse implementation
- background: Avoid a segfault
- screencast: Require pipewire 0.3
- Better support for snap and toolbox
- Require
/usr/bin/fusermount:xdg-document-portalcalls out to the binary. (bsc#1175899)…
- Record
SUSE-SU-2021:1094-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2990-1 No score
Security update for flatpak
This update for flatpak fixes the following issues:
- CVE-2021-21381: Fixed an issue where a sandboxed application could read and write arbitrary host files via special tokens in the .desktop file (bsc#1183459).
- CVE-2021-21261: Fixed a sandbox escape issue via the flatpak-portal service (bsc#1180996).
Non-security fixes:
- openh264 extension needs to use 'extra_data'. (bsc#1155688) The update will provide the support for extra_data' in extensions and will provide a list of versions that are supported. This will be useful for the extra_data for extensions because that will require it to say that it is supported for version > 1.2.5 in the 1.2 series and > 1.4.2 otherwise. The update will includes fixes for a segfault in the function that lists the installed references (flatpak_installation_list_installed_refs). When an appstream update is cancelled while downloading icons, the update will show a proper fail. Before this fix the next update attempt will see an up-to-date timestamp, think everyhing is ok and not download the missing icons. The update will introduce checks in the OCI (Open Container Initiative format) updates for validating if it is gpg verified. The update will install the required runtime for the installed extension. The update will prevent a crash if the 'FlatpakDir' can't ensure it has a repo configured. The update will prevent the removal of local extensions considered remote and not locally related.
- Record
SUSE-SU-2022:2990-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3284-1 No score
Security update for flatpak
This update for flatpak fixes the following issues:
- CVE-2021-41133: Fixed sandbox bypass via recent syscalls (bsc#1191507).
- CVE-2021-43860: Fixed metadata validation (bsc#1194610).
- Record
SUSE-SU-2022:3284-1- Updated
- 2026-11-02
OSVUSN-4721-1 No score
flatpak vulnerability
Simon McVittie discovered that flatpak-portal service allowed sandboxed applications to execute arbitrary code on the host system (a sandbox escape). A malicious user could create a Flatpak application that set environment variables, trusted by the Flatpak "run" command, and use it to execute arbitrary code outside the sandbox.
- Record
USN-4721-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
flatpakAlpine:v3.13 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.14 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.15 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.16 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.17 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.18 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.19 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.20 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.21 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.22 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
Show 82 moreShow less
| Package | Affected | Fixed |
|---|---|---|
flatpakAlpine:v3.23 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakAlpine:v3.24 |
0.11.4 up to 1.10.1-r0 | 1.10.1-r0 |
flatpakDebian:12 |
before 1.8.5-1 | 1.8.5-1 |
flatpakDebian:13 |
before 1.8.5-1 | 1.8.5-1 |
flatpakDebian:14 |
before 1.8.5-1 | 1.8.5-1 |
flatpakDebian:10 |
before 1.2.5-0+deb10u2, plus listed versions 1.2.4-11.2.5-0+deb10u11.2.5-0+deb10u1~bpo9+1 |
1.2.5-0+deb10u2 |
libglib-testingMageia:7 From an advisory covering 2 CVEs |
before 0.1.0-2.mga7 | 0.1.0-2.mga7 |
appstream-glibMageia:7 From an advisory covering 2 CVEs |
before 0.7.15-1.mga7 | 0.7.15-1.mga7 |
malcontentMageia:7 From an advisory covering 2 CVEs |
before 0.9.0-2.mga7 | 0.9.0-2.mga7 |
bubblewrapMageia:7 From an advisory covering 2 CVEs |
before 0.4.1-1.mga7 | 0.4.1-1.mga7 |
ostreeMageia:7 From an advisory covering 2 CVEs |
before 2020.8-1.mga7 | 2020.8-1.mga7 |
flatpakMageia:7 From an advisory covering 2 CVEs |
before 1.10.2-1.mga7 | 1.10.2-1.mga7 |
gnome-softwareMageia:7 From an advisory covering 2 CVEs |
before 3.32.2-2.1.mga7 | 3.32.2-2.1.mga7 |
flatpakopenEuler:20.03-LTS |
before 1.0.3-3.oe1 | 1.0.3-3.oe1 |
flatpakopenEuler:20.03-LTS-SP1 |
before 1.0.3-3.oe1 | 1.0.3-3.oe1 |
flatpakRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-libsRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-libs-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-selinuxRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-session-helperRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-session-helper-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpak-tests-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.6.2-5.el8_3 | 0:1.6.2-5.el8_3 |
flatpakRed Hat:rhel_eus:8.1::appstream |
before 0:1.0.9-3.el8_1 | 0:1.0.9-3.el8_1 |
flatpak-debuginfoRed Hat:rhel_eus:8.1::appstream |
before 0:1.0.9-3.el8_1 | 0:1.0.9-3.el8_1 |
flatpak-debugsourceRed Hat:rhel_eus:8.1::appstream |
before 0:1.0.9-3.el8_1 | 0:1.0.9-3.el8_1 |
flatpak-libsRed Hat:rhel_eus:8.1::appstream |
before 0:1.0.9-3.el8_1 | 0:1.0.9-3.el8_1 |
flatpak-libs-debuginfoRed Hat:rhel_eus:8.1::appstream |
before 0:1.0.9-3.el8_1 | 0:1.0.9-3.el8_1 |
flatpakRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-debuginfoRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-debugsourceRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-libsRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-libs-debuginfoRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-selinuxRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-session-helperRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-session-helper-debuginfoRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpak-tests-debuginfoRed Hat:rhel_eus:8.2::appstream |
before 0:1.6.2-4.el8_2 | 0:1.6.2-4.el8_2 |
flatpakRed Hat:enterprise_linux:7::client |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-debuginfoRed Hat:enterprise_linux:7::client |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-libsRed Hat:enterprise_linux:7::client |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-builderRed Hat:enterprise_linux:7::client |
before 0:1.0.0-10.el7_9 | 0:1.0.0-10.el7_9 |
flatpak-develRed Hat:enterprise_linux:7::client |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpakRed Hat:enterprise_linux:7::computenode |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-builderRed Hat:enterprise_linux:7::computenode |
before 0:1.0.0-10.el7_9 | 0:1.0.0-10.el7_9 |
flatpak-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-develRed Hat:enterprise_linux:7::computenode |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-libsRed Hat:enterprise_linux:7::computenode |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpakRed Hat:enterprise_linux:7::server |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-debuginfoRed Hat:enterprise_linux:7::server |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-libsRed Hat:enterprise_linux:7::server |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-builderRed Hat:enterprise_linux:7::server |
before 0:1.0.0-10.el7_9 | 0:1.0.0-10.el7_9 |
flatpak-develRed Hat:enterprise_linux:7::server |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpakRed Hat:enterprise_linux:7::workstation |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-libsRed Hat:enterprise_linux:7::workstation |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
flatpak-builderRed Hat:enterprise_linux:7::workstation |
before 0:1.0.0-10.el7_9 | 0:1.0.0-10.el7_9 |
flatpak-develRed Hat:enterprise_linux:7::workstation |
before 0:1.0.9-10.el7_9 | 0:1.0.9-10.el7_9 |
libostreeSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 2020.8-3.3.2 | 2020.8-3.3.2 |
flatpakSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 1.10.2-4.6.1 | 1.10.2-4.6.1 |
libostreeSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 2020.8-3.3.2 | 2020.8-3.3.2 |
xdg-desktop-portalSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 1.8.0-5.3.2 | 1.8.0-5.3.2 |
xdg-desktop-portal-gtkSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 1.8.0-3.3.1 | 1.8.0-3.3.1 |
flatpakSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS From an advisory covering 2 CVEs |
before 1.2.3-150100.4.5.2 | 1.2.3-150100.4.5.2 |
flatpakSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 2 CVEs |
before 1.2.3-150100.4.5.2 | 1.2.3-150100.4.5.2 |
flatpakSUSE:Linux Enterprise Server 15 SP1-BCL From an advisory covering 2 CVEs |
before 1.2.3-150100.4.5.2 | 1.2.3-150100.4.5.2 |
flatpakSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 2 CVEs |
before 1.2.3-150100.4.5.2 | 1.2.3-150100.4.5.2 |
flatpakSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 2 CVEs |
before 1.2.3-150100.4.5.2 | 1.2.3-150100.4.5.2 |
flatpakSUSE:Enterprise Storage 6 From an advisory covering 2 CVEs |
before 1.2.3-150100.4.5.2 | 1.2.3-150100.4.5.2 |
flatpakSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS From an advisory covering 3 CVEs |
before 1.2.3-150100.4.8.1 | 1.2.3-150100.4.8.1 |
flatpakSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 3 CVEs |
before 1.2.3-150100.4.8.1 | 1.2.3-150100.4.8.1 |
flatpakSUSE:Linux Enterprise Server 15 SP1-BCL From an advisory covering 3 CVEs |
before 1.2.3-150100.4.8.1 | 1.2.3-150100.4.8.1 |
flatpakSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 3 CVEs |
before 1.2.3-150100.4.8.1 | 1.2.3-150100.4.8.1 |
flatpakSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 3 CVEs |
before 1.2.3-150100.4.8.1 | 1.2.3-150100.4.8.1 |
flatpakSUSE:Enterprise Storage 6 From an advisory covering 3 CVEs |
before 1.2.3-150100.4.8.1 | 1.2.3-150100.4.8.1 |
flatpakUbuntu:18.04:LTS |
before 1.0.9-0ubuntu0.2, plus listed versions 0.8.7-50.10.0-10.10.0-20.10.1-10.10.2-1 Show 12 moreShow less0.10.2.1-10.10.2.1-20.10.3-10.11.1-0ubuntu10.11.3-20.11.3-30.11.7-0ubuntu0.11.0.1-0ubuntu0.11.0.6-0ubuntu0.11.0.7-0ubuntu0.18.04.11.0.8-0ubuntu0.18.04.11.0.9-0ubuntu0.1 |
1.0.9-0ubuntu0.2 |
flatpakUbuntu:20.04:LTS |
before 1.6.5-0ubuntu0.2, plus listed versions 1.4.3-11.6.0-11.6.1-11.6.2-11.6.3-11.6.5-0ubuntu0.1 |
1.6.5-0ubuntu0.2 |
flatpakopenSUSE:Leap 15.2 |
before 1.10.2-lp152.3.6.1 | 1.10.2-lp152.3.6.1 |
libostreeopenSUSE:Leap 15.2 |
before 2020.8-lp152.2.3.1 | 2020.8-lp152.2.3.1 |
xdg-desktop-portalopenSUSE:Leap 15.2 |
before 1.8.0-lp152.4.3.1 | 1.8.0-lp152.4.3.1 |
xdg-desktop-portal-gtkopenSUSE:Leap 15.2 |
before 1.8.0-lp152.2.3.1 | 1.8.0-lp152.2.3.1 |
flatpakopenSUSE:Tumbleweed From an advisory covering 4 CVEs |
before 1.11.3-1.2 | 1.11.3-1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-21261 is a high vulnerability (CVSS 7.3) in Debian Linux, published January 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.60%, the 48th percentile. Fixed in flatpak 1.10.1-r0.
References
github.com/flatpak/flatpak/security/advisories/GHSA-4ppf-fxf6-vxg2
github.com/flatpak/flatpak/releases/tag/1.8.5
debian.org/security/2021/dsa-4830
github.com/flatpak/flatpak/commit/6d1773d2a54dde9b099043f07a2094a4f1c2f486
github.com/flatpak/flatpak/commit/6e5ae7a109cdfa9735ea7ccbd8cb79f9e8d3ae8b
github.com/flatpak/flatpak/commit/aeb6a7ab0abaac4a8f4ad98b3df476d9de6b8bd4
Show 47 moreShow less
github.com/flatpak/flatpak/commit/cc1401043c075268ecc652eac557ef8076b5eaba
security.gentoo.org/glsa/202101-21
security.alpinelinux.org/vuln/CVE-2021-21261
security-tracker.debian.org/tracker/CVE-2021-21261
advisories.mageia.org/MGASA-2021-0143.html
bugs.mageia.org/show_bug.cgi?id=27126
bugs.mageia.org/show_bug.cgi?id=25978
bugs.mageia.org/show_bug.cgi?id=28575
github.com/flatpak/flatpak/security/advisories/GHSA-xgh4-387p-hqpp
github.com/flatpak/flatpak/issues/4146
github.com/flatpak/flatpak/releases
lists.fedoraproject.org/archives/list/[email protected]/thread/2K2Q5P4IIUN2SFJKQKB4UJQ37CE2E55K
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1043
nvd.nist.gov/vuln/detail/CVE-2021-21261
access.redhat.com/errata/RHSA-2021:0304
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1917430
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0304.json
access.redhat.com/security/cve/CVE-2021-21261
cve.org/CVERecord?id=CVE-2021-21261
access.redhat.com/errata/RHSA-2021:0306
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0306.json
access.redhat.com/errata/RHSA-2021:0307
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0307.json
access.redhat.com/errata/RHSA-2021:0411
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0411.json
suse.com/support/update/announcement/2021/suse-su-20211094-1
bugzilla.suse.com/1133120
bugzilla.suse.com/1133124
bugzilla.suse.com/1175899
bugzilla.suse.com/1180996
suse.com/security/cve/CVE-2021-21261
suse.com/support/update/announcement/2022/suse-su-20222990-1
bugzilla.suse.com/1155688
bugzilla.suse.com/1183459
suse.com/security/cve/CVE-2021-21381
suse.com/support/update/announcement/2022/suse-su-20223284-1
bugzilla.suse.com/1191507
bugzilla.suse.com/1194610
suse.com/security/cve/CVE-2021-41133
suse.com/security/cve/CVE-2021-43860
ubuntu.com/security/CVE-2021-21261
ubuntu.com/security/notices/USN-4721-1
lists.opensuse.org/archives/list/[email protected]/thread/4JRX7C3J3TJQXJODJCARSGDYY4AM57Q7
suse.com/security/cve/CVE-2017-5226
suse.com/security/cve/CVE-2019-10063
suse.com/security/cve/CVE-2019-5736
Left out here: the rest of 2 source descriptions. The JSON record has them.