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: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: arbitrary file write outside the intended workspace, enabling host file modification
Action: Patch Now
AI Analysis

Impact

If a malicious SDK container declares an extension point with a crafted directory path and a developer runs flatpak build-init with the --writable-sdk and --sdk-extension options, the path‑resolution logic fails to sanitize the input. This flaw allows the attacker to write files to locations outside the working directory, effectively granting arbitrary file write privileges in the host context.

Affected Systems

Red Hat Enterprise Linux 9, 8, 7, 10 systems that use Flatpak are vulnerable when the SDK container includes a crafted extension point. The vulnerability is present regardless of the operating system version but requires execution of flatpak build‑init with the vulnerable options.

Risk and Exploitability

The flaw is a path‑traversal weakness (CWE‑22). A CVSS score of 6.5 indicates moderate severity. The EPSS score is listed as < 1 %, showing a very low but non‑zero probability of exploitation, and the vulnerability is not listed in CISA KEV. Exploitation requires that an attacker can run flatpak build‑init with a malicious SDK; this is typically limited to developers or trusted build personnel who have permission to use the build‑init tool. Once exploited, the attacker can create or overwrite arbitrary files in the host filesystem, potentially compromising system integrity or facilitating further attacks.

Generated by OpenCVE AI on September 27, 2026 at 20:51 UTC.

Remediation

Vendor Workaround

Avoid using an non-trusted SDK for development/compilation.


OpenCVE Recommended Actions

  • Update Flatpak to the newest stable release that addresses the path‑resolution flaw
  • Restrict the use of flatpak build‑init to trusted SDK containers and avoid non‑trusted SDK images
  • Audit SDK extension configurations to ensure directory paths do not contain upward traversal components and disable extension points unless absolutely required

Generated by OpenCVE AI on September 27, 2026 at 20:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 27 Sep 2026 19:45: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'}

cvssV3_1

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


Thu, 24 Sep 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Flatpak
Flatpak flatpak
Vendors & Products Flatpak
Flatpak flatpak

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

Flatpak Flatpak
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-27T20:14:11.968Z

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 : Awaiting Analysis

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

Modified: 2026-09-27T21:17:03.160

Link: CVE-2026-96276

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T21:00:13Z

Weaknesses
  • CWE-22

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