Bug 2542917 - CVE-2026-97027 flatpak: flatpak: Denial of service via unsanitized keys in exported Desktop Entry / D-Bus Service files [fedora-all]
Summary: CVE-2026-97027 flatpak: flatpak: Denial of service via unsanitized keys in ex...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["f843a5bb-9e80-46a7-a32e-b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-29 03:12 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:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Melissa Ing 2026-09-29 03:12:15 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-v64f-hrwr-j4vh (https://github.com/flatpak/flatpak/security/advisories/GHSA-v64f-hrwr-j4vh)

Description: A malicious Flatpak application can influence host system behavior beyond its sandbox by including arbitrary keys in its exported Desktop Entry (.desktop) or D-Bus Service (.service) files. This can lead to denial of service (e.g. X-GNOME-AutoRestart causing unconditional application restarts) or unintended interaction with host services (e.g. SystemdService directing the D-Bus daemon to activate a host systemd unit instead of the sandboxed wrapper). When Flatpak exports these files, it rewrites Exec= to go through the flatpak run wrapper and removes a small denylist of known-dangerous keys, but passes all other keys through unmodified. The fix switches from a denylist to an allowlist, exporting only keys from a curated list of known-safe entries.

Mitigation: Only install applications from trusted sources. Patched in 1.18.4 by commit 33931025 ("dir: Validate Desktop Entry and D-Bus Service"). Credit: Reported by Markus Göllnitz.

Comment 1 Fedora Update System 2026-09-30 08:13:51 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:55 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:18 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.