Skip to main content

Flatpak EUVDEUVD-2026-85343

| CVE-2026-96276 MEDIUM
Path Traversal (CWE-22)
2026-09-23 secalert@redhat.com
6.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious SDK with crafted directory path
  2. Delivery
    Developer pulls and runs build-init --sdk-extension
  3. Exploit
    Path resolver follows .. traversal
  4. Execution
    Attacker files written outside working dir
  5. Impact
    Code execution as developer

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that (1) the developer obtains and uses an attacker-controlled malicious SDK container, (2) that SDK declares an extension point with a directory value containing .. traversal sequences, and (3) the developer runs flatpak build-init with BOTH the --writable-sdk and --sdk-extension flags pointing at that SDK. These are strong limiting factors: it is a local developer build action, not a remote service, and it depends entirely on the victim choosing to build against an untrusted SDK - default or trusted-SDK workflows are unaffected. No authentication service is involved; the trust boundary is the developer deciding to consume a hostile SDK.

Impact

The input CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N) materially overstates real-world risk. The description makes clear this is a developer-tooling flaw: exploitation requires a developer to obtain an attacker-controlled malicious SDK container AND deliberately run flatpak build-init with the specific --writable-sdk --sdk-extension flags against it. That is a local build operation gated on victim action against untrusted input, which contradicts the network/no-interaction vector - CVSS vector implies remote unauthenticated exploitation but the description implies local, developer-initiated build against a malicious SDK; verify with Red Hat/GHSA. SSVC is more grounded: Exploitation 'none' (no observed exploitation), Automatable 'yes' (once a poisoned SDK is fetched the traversal fires deterministically), Technical Impact 'total' (arbitrary file write outside the working directory effectively yields code execution in the developer's context). No EPSS score, no KEV listing, and no public exploit code accompany this record. Net: this is a legitimate supply-chain/developer-workstation integrity issue worth patching, but not an internet-facing mass-exploitation priority - its true severity sits well below 9.8 because it hinges on a developer building against a hostile SDK.

Exploit ScenarioDerived

An attacker publishes a trojanized SDK container whose extension point declares a directory value containing .. traversal sequences. A developer pulls that SDK and runs flatpak build-init --writable-sdk --sdk-extension <sdk>; during initialization the target path is resolved by a function that permits .., so attacker-chosen files are written outside the intended working directory - e.g. into the developer's home, dotfiles, or shell/config paths - leading to code execution in the developer's context. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 23, 2026

Path traversal in Flatpak's flatpak build-init command allows an attacker-controlled SDK container to write arbitrary files outside the developer's working directory when that developer builds against the SDK using both the --writable-sdk and --sdk-extension flags. The root cause (CWE-22) is that the SDK's declared extension-point directory value is resolved through a path helper that does not reject .. components, so a malicious SDK can steer writes outside the intended build root. The independently assessed vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is a local, user-interaction-dependent action rather than the remote 9.8 originally submitted; no public exploit code or confirmed active exploitation has been identified at time of analysis, and the attacker must convince the developer to consume a hostile SDK, which severely limits real-world exposure.

RemediationAI

Apply the fix referenced by upstream advisory GHSA-8qxj-x646-phcm (https://github.com/flatpak/flatpak/security/advisories/GHSA-8qxj-x646-phcm) and track the exact patched version through Red Hat's CVE page (https://access.redhat.com/security/cve/CVE-2026-96276) and Bugzilla 2539418; the provided data does not enumerate a fixed version number, so the released patched build is not independently confirmed here. Until the patched release is deployed, do not run flatpak build-init with --writable-sdk and --sdk-extension against SDK containers that were not built and cryptographically pinned by your own organisation - treat any SDK image pulled from an untrusted registry as hostile. Where those flags are genuinely required, run the build under an unprivileged, disposable account or inside an isolated container/VM whose filesystem does not contain the developer's home directory, and pre-inspect the SDK's extension-point metadata for .. sequences before invoking the build; the trade-off is reduced build convenience in exchange for containment. Pinning SDK sources to a known-good digest eliminates the attack surface entirely, at the cost of no longer accepting arbitrary third-party SDKs.

Affected ProductsAI

Flatpak clients that implement flatpak build-init with the --writable-sdk and --sdk-extension options are affected, and the vulnerable code path is only reached when a developer builds against an SDK container whose extension-point metadata contains a crafted directory value. The provided intelligence contains no CPE strings, so no CPE-based version range can be quoted; consult the upstream advisory GHSA-8qxj-x646-phcm, Red Hat's CVE page at access.redhat.com/security/cve/CVE-2026-96276, and Red Hat Bugzilla 2539418 for the specific patched Flatpak releases. Trusted-SDK workflows and ordinary invocations that do not combine --writable-sdk with --sdk-extension do not enter the vulnerable path.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in Flatpak's SDK extension mechanism. Running flatpak build-init with --writable-sdk makes the SDK container writable for the build, and --sdk-extension causes Flatpak to honour extension points declared in the SDK's own metadata. Each extension point carries a directory field that tells Flatpak where to materialise the extension inside the build sandbox; that path is passed to a resolution function that permits .. traversal (CWE-22, improper limitation of a pathname to a restricted directory). A crafted directory value therefore escapes the working directory and can drop attacker-chosen files into paths writable by the building user. The trust boundary here is entirely local: the developer deciding to build against an untrusted SDK image, not a network-exposed service or authentication layer. Relevant intelligence sources are Red Hat's advisory (access.redhat.com/security/cve/CVE-2026-96276), Red Hat Bugzilla 2539418, upstream GitHub Security Advisory GHSA-8qxj-x646-phcm, and ENISA EUVD-2026-85343.

Know when Flatpak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
vuln.today AI 7.8 HIGH

Local developer build against a malicious SDK requires the victim to run the command (AV:L, UI:R); arbitrary file write outside the workdir yields code execution as the developer, so C/I/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 6.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

5
Severity Changed
Sep 27, 2026 - 20:22 NVD
CRITICAL MEDIUM
CVSS changed
Sep 27, 2026 - 20:22 NVD
9.8 (CRITICAL) 6.5 (MEDIUM)
CVSS changed
Sep 23, 2026 - 16:22 NVD
9.8 (CRITICAL)
CVE Published
Sep 23, 2026 - 15:17 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 23, 2026 - 15:17 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-22 path traversal in Flatpak’s flatpak build-init extension-copying path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical path-traversal flaw in Flatpak's flatpak build-init tooling (CVE-2026-96276) lets a malicious SDK container write files anywhere on a developer's machine - not just inside the project directory - when that developer builds with the --writable-sdk and --sdk-extension options. The practical exposure is narrow: the developer must deliberately pull and build against a hostile SDK, and no public exploit code or active exploitation has been observed, so this is a supply-chain hygiene risk for engineering teams rather than a broad outage or customer-facing threat. Leadership should care because compromise of a single developer workstation can seed malicious code into products and CI pipelines, and no vendor patch is currently available.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: prohibit use of the --writable-sdk and --sdk-extension flags in flatpak build-init; restrict SDK/runtime installs to trusted, signed remotes such as Flathub or an internal mirror; sandbox builds in disposable containers or VMs with no access to host credentials or home directories; run build tooling under least-privilege accounts; monitor Flatpak vendor advisories for the patched release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
High
Flatpak is a core Linux app-sandbox/distribution framework, but build-init is a developer-only workflow
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-34078 CRITICAL
9.3 Apr 07

Sandbox escape in Flatpak versions prior to 1.16.4 allows applications to access arbitrary host filesystem paths and ach

CVE-2019-10063 CRITICAL
9.0 Mar 26

Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass. Rated critical sever

CVE-2021-21261 HIGH
8.8 Jan 14

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Rated high severity

CVE-2018-6560 HIGH
8.8 Feb 02

In dbus-proxy/flatpak-proxy.c in Flatpak before 0.8.9, and 0.9.x and 0.10.x before 0.10.3, crafted D-Bus messages to the

CVE-2026-34079 HIGH
8.7 Apr 07

Arbitrary file deletion in Flatpak versions prior to 1.16.4 allows sandboxed applications to delete files on the host sy

CVE-2026-94422 HIGH
8.7 Sep 23

Message-filtering bypass in xdg-dbus-proxy before 0.1.9 lets a malicious or already-compromised sandboxed application -

CVE-2021-21381 HIGH
8.2 Mar 11

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Rated high severity

CVE-2019-8308 HIGH
8.2 Feb 12

Flatpak before 1.0.7, and 1.1.x and 1.2.x before 1.2.3, exposes /proc in the apply_extra script sandbox, which allows at

CVE-2017-9780 HIGH
7.8 Jun 21

In Flatpak before 0.8.7, a third-party app repository could include malicious apps that contain files with inappropriate

CVE-2021-41133 HIGH
7.8 Oct 08

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Rated high severity

CVE-2026-96808 HIGH
7.4 Sep 23

Local privilege escalation to root in Flatpak before 1.18.1 lets an unprivileged user holding an active local session ab

CVE-2026-97024 HIGH
7.1 Sep 28

Path traversal in Flatpak's app deployment handling of the exported files/etc directory allows a malicious Flatpak appli

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy