Bug 2542916 - CVE-2026-97026 flatpak: flatpak: World-writable temporary child repositories in system-helper cache path [fedora-all]
Summary: CVE-2026-97026 flatpak: flatpak: World-writable temporary child repositories ...
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": ["b2e738d1-0aad-4af2-8b85-b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-29 03:10 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:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Melissa Ing 2026-09-29 03:10:12 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-r9w3-qx54-qvc8 (https://github.com/flatpak/flatpak/security/advisories/GHSA-r9w3-qx54-qvc8)

Description: The child temporary directories allocated under the user cache (/var/tmp/flatpak-cache-*) are created with mode 0777. On multi-user systems this could allow other local users to modify the app as it is being installed. This is related to GHSA-7rvf-rqr3-43j4 (CVE-2026-97025) but with a different impact. This is mitigated by a restrictive umask; it is believed to be a denial-of-service risk rather than an integrity threat, because a modified app/runtime would fail its signature or digest check. The flatpak(1) CLI, GNOME Software, and KDE Plasma Discover are believed unaffected since they set umask 022; other software using libflatpak with a permissive umask might be indirectly vulnerable.

Mitigation: Set a umask that does not allow other users to write to the cache directory (e.g. umask 022). Patched in 1.18.4 by commit 011dfae2 ("common: Restrict tmpdir permissions from 0777 to 0755"). Credit: Found by AISLE in cooperation with Red Hat.

Comment 1 Fedora Update System 2026-09-30 08:13:48 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:53 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:15 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.