Bug 2542607

Summary: CVE-2026-97023 flatpak: flatpak: Arbitrary file deletion in root context via path traversal in deploy directory export/bin [fedora-all]
Product: [Fedora] Fedora Reporter: Melissa Ing <meing>
Component: flatpakAssignee: David King <amigadave>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: amigadave, debarshir, gnome-sig, kalevlember, renner0
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["398da085-5d2e-46c3-a426-f910ea59bd0b"]}
Fixed In Version: flatpak-1.18.4-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-04 01:42:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Melissa Ing 2026-09-28 18:30:39 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-09-30 08:13:42 UTC
FEDORA-2026-7a31054ed6 (flatpak-1.18.4-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7a31054ed6

Comment 2 Fedora Update System 2026-10-01 02:00:48 UTC
FEDORA-2026-7a31054ed6 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7a31054ed6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7a31054ed6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2026-10-04 01:42:10 UTC
FEDORA-2026-7a31054ed6 (flatpak-1.18.4-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.