Critical Security Flaw in Flatpak: Arbitrary Code Execution and File Deletion Risks

flatpak Updated 04 Jun 2026

Summary

28/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:21757: Important: flatpak security update. Affects flatpak versions < 1.16.0-9.el10_2.1. Fixed in 1.16.0-9.el10_2.1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Flatpak is a system designed for building, distributing, and running sandboxed desktop applications on Linux. It allows developers to package their applications along with all necessary dependencies, ensuring consistent behavior across different Linux distributions. However, recent vulnerabilities have been identified that could compromise the security of applications running in Flatpak environments.

Vulnerability Detail

The vulnerabilities identified in Flatpak include CVE-2026-34078, which allows for arbitrary code execution through crafted symlinks in sandbox-expose options, and CVE-2026-34079, which enables arbitrary file deletion on the host due to improper cache file path validation. These vulnerabilities can lead to severe security breaches, allowing attackers to execute malicious code or delete critical files on the host system.

How To Fix

Minimum fixed version

1.16.0-9.el10_2.1

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

As a temporary measure, users can limit the use of sandbox-expose options and avoid using crafted symlinks until the update is applied. Additionally, reviewing and validating cache file paths can help reduce the risk of arbitrary file deletion.

Conclusion

The identified vulnerabilities in Flatpak pose significant risks, including arbitrary code execution and file deletion. It is crucial for users to update their Flatpak installations to the latest patched version to ensure their systems remain secure. Additionally, utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for flatpak →

Share this vulnerability

FAQ

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux, ensuring that applications run consistently across different environments.

The vulnerabilities include arbitrary code execution via crafted symlinks (CVE-2026-34078) and arbitrary file deletion due to improper cache file path validation (CVE-2026-34079).

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If an immediate update is not possible, consider limiting the use of sandbox-expose options and validating cache file paths to mitigate risks.

For more details, refer to the CVE pages for CVE-2026-34078 and CVE-2026-34079, which provide in-depth information about the vulnerabilities and their impacts.

Related vulnerabilities

Recent vulnerabilities recorded for flatpak.

How To Fix

Minimum fixed version

1.16.0-9.el10_2.1

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