Flatpak Sandbox Bypass Vulnerability (CVE-2021-41133)

flatpak Updated 02 Oct 2025

Summary

09/11/2021
N/A
Yes i
Unrated
Not published

ALEA-2021:4539: flatpak bug fix and enhancement update. Affects flatpak versions < 1.8.5-5.el8_5. Fixed in 1.8.5-5.el8_5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. It provides a secure environment for running applications by isolating them from the host system. However, a vulnerability has been discovered in Flatpak that allows an attacker to bypass the sandbox and execute arbitrary code on the host system.

Vulnerability Detail

The vulnerability (CVE-2021-41133) in Flatpak is due to a sandbox bypass that can be achieved through recent VFS-manipulating syscalls. By exploiting this vulnerability, an attacker can escape the application's sandbox and gain unauthorized access to the host system. This can lead to various security risks, including the execution of malicious code, unauthorized data access, and privilege escalation.

How To Fix

Minimum fixed version

1.8.5-5.el8_5

This is the first release that contains the fix.

sudo dnf update flatpak

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update as soon as possible to mitigate the risk of exploitation.

Conclusion

The Flatpak sandbox bypass vulnerability (CVE-2021-41133) poses a significant risk to the security of Linux systems running Flatpak. It is crucial to update Flatpak to the latest version to mitigate the risk of exploitation. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for flatpak →

Share this vulnerability

FAQ

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. It provides a secure environment for running applications by isolating them from the host system.

The vulnerability allows an attacker to bypass the Flatpak sandbox and execute arbitrary code on the host system. This can lead to various security risks, including the execution of malicious code, unauthorized data access, and privilege escalation.

To fix this vulnerability, update Flatpak to version 1.8.5-5.el8_5 or later. This update includes a patch that addresses the sandbox bypass issue.

There is no known workaround for this vulnerability. It is essential to apply the security update as soon as possible to mitigate the risk of exploitation.

You can find more information about this vulnerability in the official advisory provided by AlmaLinux: https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALEA-2021:4539.json

Related vulnerabilities

Recent vulnerabilities recorded for flatpak.

How To Fix

Minimum fixed version

1.8.5-5.el8_5

This is the first release that contains the fix.

sudo dnf update flatpak

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback