CVE-2026-97026

Flatpak: flatpak: world-writable temporary child repositories in system-helper cache path

Published Sep 28, 2026 CVSS 3.1 · 3.9 Low EPSS < 1% KEV · Not listed
Description
Flatpak creates temporary child repository directories under the user cache with world-writable permissions (0777). On multi-user systems with a permissive umask, other local users could read or modify the temporary directory used while installing apps or runtimes, potentially causing installation failures (denial of service); tampered content would fail signature/digest verification rather than being trusted.

Analysis

AI-generated

Technical impact

Flatpak creates temporary child repository directories under the user cache with world‑writable permissions (0777). Because the directories can be modified by any local user on a multi‑user system with a permissive umask, an attacker could alter the contents of a repository while it is being installed or updated. The altered content would fail signature or digest verification, causing the installation process to abort rather than gain malicious privileges. The primary effect is therefore a denial of service to application or runtime installation, not remote code execution or data exfiltration.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 7, 8, 9, and 10 systems that run Flatpak. No specific Flatpak or ELS version numbers were provided, so all builds of Flatpak installed on these operating system releases are potentially impacted. System administrators should check whether the Flatpak helper binaries on their servers use the default cache paths described in the advisory.

Risk and Exploitability

The CVSS vector assigns a score of 3.9, indicating moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that no active exploitation is widely reported. The likely attack vector is local; an attacker must have user‑level access on the same machine to manipulate the world‑writable cache directories. In the absence of a fixed patch, the defect can be mitigated by preventing write permissions on the cache path, thereby limiting the possibility of installation failures. Because the flaw does not allow privilege escalation or direct code execution, the overall risk to confidentiality or integrity remains low, but the availability impact warrants timely remediation.

Remediation

Vendor Workaround

Set a umask that does not allow other users to write to the cache directory, for example: umask 022. Note that a umask that does not allow read/exec access by all (for example 027 or 077) will prevent the flatpak-system-helper from reading the temporary directory directly, resulting in falling back to copying the repository inefficiently, with a warning.


OpenCVE Recommended Actions

  • Set the process umask to 022 or stricter so that the flatpak cache and temporary directories cannot be written to by other users.
  • Ensure that the system‑helper cache directory (typically /var/cache/flatpak) is owned by the installing user or root and has permissions that exclude write access for the group and others.
  • Upgrade Flatpak to the latest revision supplied by Red Hat, which includes the security fix for this issue.

Generated by OpenCVE AI on September 28, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6524-1 flatpak security update
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Flatpak
Flatpak flatpak
Vendors & Products Flatpak
Flatpak flatpak
Type Values Removed Values Added
Description Flatpak creates temporary child repository directories under the user cache with world-writable permissions (0777). On multi-user systems with a permissive umask, other local users could read or modify the temporary directory used while installing apps or runtimes, potentially causing installation failures (denial of service); tampered content would fail signature/digest verification rather than being trusted.
Title Flatpak: flatpak: world-writable temporary child repositories in system-helper cache path
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-378
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 3.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L'}

Weaknesses
  • CWE-378

    Creation of Temporary File With Insecure Permissions

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 5:18 PM
Reserved
Sep 23, 2026, 9:11 PM
Status
Awaiting Analysis
Published
Sep 28, 2026, 9:17 PM
Modified
Nov 25, 2026, 6:18 PM
Severity
Low
Public date
Sep 28, 2026, 1:28 PM