CVE-2026-97024

Flatpak: flatpak: arbitrary write in root context via path traversal in deploy directory files/etc

Published Sep 29, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
A path traversal vulnerability in Flatpak's handling of the files/etc directory during app deployment allows a malicious Flatpak app to cause certain host system files (such as passwd, group, machine-id, or resolv.conf) to be emptied or replaced with a symlink when the app is installed or upgraded. In system-wide installations, the write is performed as root.

Analysis

AI-generated

Technical impact

A malicious Flatpak application can exploit a path traversal flaw while deploying files in the /etc directory, causing critical host files such as /etc/passwd, /etc/group, /etc/machine-id, or /etc/resolv.conf to be emptied or replaced with a symbolic link. The vulnerability enables tampering with authentication, networking, or system identification, and is identified as a classic file‑system path traversal weakness (CWE‑61).

Affected Systems

Red Hat Red Enterprise Linux 7, 8, 9, and 10 are affected because Flatpak is bundled with these operating systems, and any system that performs system‑wide Flatpak installations runs with root privileges and is therefore at risk.

Risk and Exploitability

The CVSS score of 7.1 classifies the issue as high severity, and the EPSS score is not available, meaning no current exploitation probability is published. The vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. An attacker only needs to install or upgrade a malicious Flatpak package in a system‑wide context to trigger the privileged write, making it a straightforward local privilege escalation vector.

Remediation

Vendor Workaround

Avoid installing Flatpak apps from untrusted publishers, especially system-wide.


OpenCVE Recommended Actions

  • Apply the vendor patch or upgrade Flatpak to a version that fixes the path traversal flaw
  • Avoid installing Flatpak applications from untrusted publishers, especially in system‑wide mode
  • Configure Flatpak to run only in user mode and restrict system‑wide installation privileges when possible

Generated by OpenCVE AI on September 29, 2026 at 04:50 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
First Time appeared Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/a:redhat:rhel_tus:8.8::appstream
Vendors & Products Redhat rhel Tus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_eus_long_life:8.6::appstream
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/a:redhat:rhel_eus:9.6::crb
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/o:redhat:enterprise_linux_eus:10.0
Vendors & Products Redhat enterprise Linux Eus
Redhat rhel E4s
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:enterprise_linux:8::crb
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
First Time appeared Flatpak
Flatpak flatpak
Vendors & Products Flatpak
Flatpak flatpak
Type Values Removed Values Added
References
Metrics threat_severity

None

ssvc

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

threat_severity

Important

Type Values Removed Values Added
Description A path traversal vulnerability in Flatpak's handling of the files/etc directory during app deployment allows a malicious Flatpak app to cause certain host system files (such as passwd, group, machine-id, or resolv.conf) to be emptied or replaced with a symlink when the app is installed or upgraded. In system-wide installations, the write is performed as root.
Title Flatpak: flatpak: arbitrary write in root context via path traversal in deploy directory files/etc
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-61
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': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 2:35 PM
Reserved
Sep 23, 2026, 9:09 PM
Status
Awaiting Analysis
Published
Sep 29, 2026, 4:18 AM
Modified
Nov 25, 2026, 3:17 PM
Severity
Important
Public date
Sep 28, 2026, 1:29 PM