Bug 2542607 - CVE-2026-97023 flatpak: flatpak: Arbitrary file deletion in root context via path traversal in deploy directory export/bin [fedora-all]
Summary: CVE-2026-97023 flatpak: flatpak: Arbitrary file deletion in root context via ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["398da085-5d2e-46c3-a426-f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-28 18:30 UTC by Melissa Ing
Modified: 2026-10-04 01:42 UTC (History)
5 users (show)

Fixed In Version: flatpak-1.18.4-1.fc44
Clone Of:
Environment:
Last Closed: 2026-10-04 01:42:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.