Description
If a malicious SDK container declares an extension point with a crafted `directory` path, and a developer runs `flatpak build-init --writable-sdk --sdk-extension` with that SDK, attacker-chosen files could be written outside the working directory, since the target path is resolved via a function that allows `..` traversal.
Published: 2026-09-23
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: Arbitrary file write outside the intended workspace, allowing overwriting of files on the host system.
Action: Patch Now
AI Analysis

Impact

A malicious SDK container can declare an extension point with a crafted directory path. When a developer runs flatpak build-init with the --writable-sdk and --sdk-extension flags, the path‑resolution function does not sanitize the input and allows .. traversal, enabling attacker‑chosen files to be written outside the working directory. This flaw permits arbitrary file writes in the host context.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 10, 7, 8 and 9 systems that run Flatpak versions prior to 1.18.1.

Risk and Exploitability

The flaw is a path‑traversal weakness (CWE‑22). No EPSS score is available and it is not listed in CISA KEV. Exploitation requires the attacker to have the ability to run flatpak build‑init with the vulnerable SDK, a privilege typically held by developers or trusted build personnel. The risk is that arbitrary files can be written outside the intended workspace, potentially allowing unwanted modifications to host files. With a CVSS score of 9.8, the vulnerability is considered critical.

Generated by OpenCVE AI on September 23, 2026 at 17:56 UTC.

Remediation

Vendor Workaround

Fixed in v1.18.1. Avoid using an non-trusted SDK for development/compilation.


OpenCVE Recommended Actions

  • Upgrade Flatpak to version 1.18.1 or later on all affected RHEL 7–10 systems.
  • Limit the use of flatpak build-init to trusted SDK containers; avoid non‑trusted SDK images.
  • Validate SDK extension configurations and disable unwritable SDK extensions unless absolutely required.

Generated by OpenCVE AI on September 23, 2026 at 17:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 23 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 15:15:00 +0000

Type Values Removed Values Added
Description If a malicious SDK container declares an extension point with a crafted `directory` path, and a developer runs `flatpak build-init --writable-sdk --sdk-extension` with that SDK, attacker-chosen files could be written outside the working directory, since the target path is resolved via a function that allows `..` traversal.
Title Flatpak: flatpak: arbitrary write in host context via flatpak build-init
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-22
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

Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-23T15:28:23.421Z

Reserved: 2026-09-22T20:42:35.875Z

Link: CVE-2026-96276

cve-icon Vulnrichment

Updated: 2026-09-23T15:28:20.325Z

cve-icon NVD

Status : Received

Published: 2026-09-23T15:17:32.317

Modified: 2026-09-23T16:16:49.337

Link: CVE-2026-96276

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T18:00:07Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')