CVE-2026-97023: Flatpak: flatpak: arbitrary file deletion in root context via path traversal in deploy directory export/bin

Published Sep 28, 2026
·
Updated

A path traversal vulnerability in Flatpak's handling of the export/bin directory during app deployment allows a malicious Flatpak app to cause deletion of attacker-chosen files outside the deployment directory when the app is installed or upgraded. In system-wide installations, the deletion is performed as root.

Other sources

GHSA-5p67-xh8x-rq54 (https://github.com/flatpak/flatpak/security/advisories/GHSA-5p67-xh8x-rq54)

Description: A path traversal vulnerability during app installation could be used by an attacker to delete files outside the deployment directory. A malicious Flatpak app could arrange for an attacker-chosen file on the host system to be deleted when the app is upgraded. When installing Flatpak apps system-wide, the deletion is done by root.

Mitigation: No known mitigation other than updating. Patched in 1.18.4 by commits 01cd7c4b ("dir: Add fd-relative helpers for accessing deploy directories") and 40f1265c ("dir: Use fd-relative operations for export/bin removal during deploy"). Credit: Sebastian Wick.

— Red Hat

Affected Software

12 affected componentsFixes available
Flatpak Flatpak
debian/flatpak<=1.14.10-1~deb12u2
1.16.6-1~deb13u31.18.4-1
ubuntu/flatpak*
ubuntu/flatpak*
ubuntu/flatpak*
ubuntu/flatpak*
ubuntu/flatpak*
ubuntu/flatpak*
debian/flatpak*
debian/flatpak<1.16.6-1~deb13u3
1.16.6-1~deb13u3
debian/flatpak<1.18.4-1
1.18.4-1
alpine/flatpak<1.16.6_git20261120-r0
1.16.6_git20261120-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/flatpak to a version that resolves this vulnerability.

    Fixed in 1.16.6-1~deb13u3Fixed in 1.18.4-1
  2. Upgrade

    Upgrade debian/flatpak to a version that resolves this vulnerability.

    Fixed in 1.16.6-1~deb13u3
  3. Upgrade

    Upgrade debian/flatpak to a version that resolves this vulnerability.

    Fixed in 1.18.4-1
  4. Upgrade

    Upgrade alpine/flatpak to a version that resolves this vulnerability.

    Fixed in 1.16.6_git20261120-r0
  5. Upgrade

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

    Fixed in 1.18.4

Event History

Sep 28, 2026
Data Sourced
via Red Hat·06:22 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·06:53 PM
Data Sourced
via MITRE·06:53 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who is most exposed to this issue?

Systems that install or upgrade malicious Flatpak apps are exposed. System-wide Flatpak installations are especially impacted because the affected deletion operation runs as root.

2

What must an attacker do to exploit it?

An attacker must provide a malicious Flatpak app containing path traversal in its export/bin deployment content. Exploitation occurs when that app is installed or upgraded, so user interaction is required.

3

What is the impact of a successful exploit?

A malicious app can cause deletion of attacker-chosen files outside its intended deployment directory. In a system-wide installation, those deletions are performed with root privileges.

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