CVE-2026-96279

Flatpak: flatpak: path traversal issue in oci archive extraction via hardlinks

Published Sep 27, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
A malicious OCI registry can hardlink arbitrary host files into the extraction directory when a user installs or updates a Flatpak application from an OCI remote, allowing disclosure of arbitrary host file contents. For system-wide installs running as root, this includes sensitive files such as /etc/shadow.

Analysis

AI-generated

Technical impact

A malicious OCI registry can instruct Flatpak to create hardlinks to arbitrary host files during the extraction of an OCI archive. When a user installs or updates a Flatpak application from such a registry, the hardlinks allow the attacker to read any files that the Flatpak process can access, including sensitive host files such as /etc/shadow for system‑wide installs running as root. This vulnerability represents a path traversal via hardlink misuse and results in unauthenticated disclosure of host file contents.

Affected Systems

The flaw affects Red Hat Enterprise Linux 10, 7, 8, and 9 systems that use the Flatpak runtime to install or update applications from OCI remotes. The issue arises when the Flatpak client extracts OCI archives without validating the destination paths, allowing an attacker who controls the OCI registry to supply file paths that map to arbitrary host files.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, but the impact is high for root‑running installations because the attacker can read critical files. The EPSS score is not available, and the vulnerability is not listed in CISA KEV. Exploitation requires the attacker to provide a malicious OCI registry entry and a user to install or update a Flatpak application from that registry. For normal user installations, the risk is lower, but for system‑wide, privileged installs the compromise can lead to credential theft.

Remediation

Vendor Workaround

Only install applications from trusted OCI registries. Flatpak remotes using the default OSTree transport are not affected.


OpenCVE Recommended Actions

  • Restrict Flatpak installations to trusted, signed OCI registries and avoid generic OCI sources.
  • Apply any Red Hat or Flatpak update that addresses this hardlink path traversal issue.
  • Avoid performing system‑wide Flatpak installs as root until a patch is applied; run Flatpak applications with non‑privileged users.

Generated by OpenCVE AI on September 27, 2026 at 21:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
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
First Time appeared Flatpak
Flatpak flatpak
Vendors & Products Flatpak
Flatpak flatpak
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description A malicious OCI registry can hardlink arbitrary host files into the extraction directory when a user installs or updates a Flatpak application from an OCI remote, allowing disclosure of arbitrary host file contents. For system-wide installs running as root, this includes sensitive files such as /etc/shadow.
Title Flatpak: flatpak: path traversal issue in oci archive extraction via hardlinks
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-59
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
Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 10:55 PM
Reserved
Sep 22, 2026, 8:43 PM
Status
Awaiting Analysis
Published
Sep 27, 2026, 8:16 PM
Modified
Nov 24, 2026, 11:17 PM