REDHAT-BUG-2542698: Medium severity Flatpak Flatpak vulnerability

Published Sep 28, 2026
·
Updated

GHSA-f3p8-vr7v-gxf2 (https://github.com/flatpak/flatpak/security/advisories/GHSA-f3p8-vr7v-gxf2)

Description: If a sandboxed app calls kill(0, signal) or killpg(0, signal), process ID namespace separation does not prevent the signal from being received by every process in the current process group, even though some of those processes are outside the process ID namespace. A malicious or compromised Flatpak app can cause denial of service by terminating processes outside its sandbox. For example, when running under GNOME Shell, the Flatpak app can terminate the shell, causing the desktop session to end. If processes in the same process group take an unsafe action on receiving a signal (e.g. SIGUSR1 puts them into a mode that exposes additional attack surface), a malicious or compromised app could trigger this.

Mitigation: Run Flatpak apps in a new session (setsid flatpak run ...) or a new process group (setpgid(0, 0) in the parent), or avoid running untrusted Flatpak apps. Patched in 1.18.4 by commit a3cf27b5 ("common: Put each bubblewrap child process in its own process group"). Credit: Reported by Guthrie Armstrong, Coalition, Inc.

Affected Software

1 affected component
Flatpak Flatpak<1.18.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.18.4Patch a3cf27b5
  2. Compensating control

    Run Flatpak apps in a new session using `setsid flatpak run ...` or in a new process group using `setpgid(0, 0)` in the parent; alternatively, avoid running untrusted Flatpak apps.

Event History

Sep 28, 2026
Data Sourced
via Red Hat·08:53 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A malicious or compromised sandboxed Flatpak app can exploit it by calling kill(0, signal) or killpg(0, signal). The impact depends on processes outside the sandbox sharing the app's current process group.

2

What is the practical impact on a desktop system?

An affected Flatpak app can cause denial of service by signaling and potentially terminating processes outside its sandbox. When run under GNOME Shell, it can terminate the shell and end the desktop session; other signals might trigger unsafe behavior in receiving processes.

3

What can be done if patching is not immediately possible?

Run Flatpak apps in a new session using setsid flatpak run, or place them in a new process group with setpgid(0, 0) in the parent process. Avoid running untrusted Flatpak apps until the issue is addressed.

4

What version includes the fix?

The issue is patched in Flatpak 1.18.4. The fix places each bubblewrap child process in its own process group.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203