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

flatpak Updated 04 Jun 2026

Summary

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

ALSA-2026:21756: Important: flatpak security update. Affects flatpak versions < 1.12.9-4.el8_10. Fixed in 1.12.9-4.el8_10. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Flatpak is a powerful system designed for building, distributing, and running sandboxed desktop applications on Linux. It allows developers to package their applications with all necessary dependencies, ensuring consistent behavior across different Linux distributions. However, recent vulnerabilities have been identified that could allow malicious actors to exploit the system, leading to severe security risks.

Vulnerability Detail

The vulnerabilities identified in Flatpak include arbitrary code execution via crafted symlinks in sandbox-expose options (CVE-2026-34078) and arbitrary file deletion on the host due to improper cache file path validation (CVE-2026-34079). These vulnerabilities arise from flaws in the way Flatpak handles symlinks and validates file paths, potentially allowing attackers to execute unauthorized code or delete critical files on the host system.

How To Fix

Minimum fixed version

1.12.9-4.el8_10

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 symlinks in their Flatpak applications until the update is applied. This can help mitigate the risk of exploitation while waiting for the official patch.

Conclusion

The identified vulnerabilities in Flatpak pose significant security risks, allowing for arbitrary code execution and file deletion. It is crucial for users to update their Flatpak installations to the latest version to mitigate these risks. 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 consistent behavior across different distributions.

The vulnerabilities include arbitrary code execution via crafted symlinks and arbitrary file deletion due to improper cache file path validation.

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

As a workaround, limit the use of sandbox-expose options and avoid symlinks in your applications until you can apply the update.

For detailed information, refer to the CVE pages for CVE-2026-34078 and CVE-2026-34079, which provide insights into the impact and technical details of the vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for flatpak.

How To Fix

Minimum fixed version

1.12.9-4.el8_10

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