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:21755: Important: flatpak security update. Affects flatpak versions < 1.12.9-4.el9_8.1. Fixed in 1.12.9-4.el9_8.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 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 applications with their dependencies, ensuring consistent behavior across different Linux distributions. However, recent vulnerabilities have been discovered that could compromise the security of systems using Flatpak, particularly affecting versions prior to 1.12.9-4.el9_8.1.

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 how Flatpak handles symlinks and cache file paths, potentially allowing attackers to execute malicious code or delete critical files on the host system.

How To Fix

Minimum fixed version

1.12.9-4.el9_8.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 in Flatpak until the update is applied. Additionally, ensure that sensitive files are not exposed to Flatpak applications until the vulnerabilities are resolved.

Conclusion

The recent vulnerabilities in Flatpak pose significant security risks, including arbitrary code execution and file deletion. Users are strongly advised to update their Flatpak installations to the latest patched version to mitigate these risks. Additionally, temporary workarounds can help protect systems until updates are applied.

See every vulnerability recorded for flatpak →

Share this vulnerability

FAQ

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux, allowing for consistent application behavior across different distributions.

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

You can use Vulert's playground at Vulert Scanner to check if your application is affected by these vulnerabilities without requiring any signup.

As a workaround, limit the use of sandbox-expose options and avoid exposing sensitive files to Flatpak applications until the vulnerabilities are patched.

For more details, refer to the CVE pages listed in the advisory or consult the official Flatpak documentation.

Related vulnerabilities

Recent vulnerabilities recorded for flatpak.

How To Fix

Minimum fixed version

1.12.9-4.el9_8.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