Path traversal in Flatpak - CVE-2026-96276

 

Path traversal in Flatpak - CVE-2026-96276

Published: August 11, 2026 / Updated: September 28, 2026


Vulnerability identifier: #VU141397
CSH Severity: Medium
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-96276
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to overwrite arbitrary files outside the working directory.

The vulnerability exists due to path traversal in flatpak build-init extension file copying when processing a malicious SDK container with crafted extension point metadata via --writable-sdk and --sdk-extension or extension copying options. A remote attacker can provide an SDK extension with a crafted directory path containing traversal sequences to overwrite arbitrary files outside the working directory.

Before copying, existing files at the traversed target path are deleted and replaced with the extension content.


Affected software

Flatpak
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Desktop Applications Module
openSUSE Leap
flatpak-debugsource
flatpak-zsh-completion
flatpak-remote-flathub
system-user-flatpak
flatpak-devel
libflatpak0
typelib-1_0-Flatpak-1_0
libflatpak0-debuginfo
flatpak-debuginfo
flatpak

How to mitigate CVE-2026-96276

Install security update from vendor's website.

Flatpak - update to 1.18.1
flatpak-debugsource - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
flatpak-zsh-completion - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
flatpak-remote-flathub - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
system-user-flatpak - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
flatpak-devel - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
libflatpak0 - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
typelib-1_0-Flatpak-1_0 - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
libflatpak0-debuginfo - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
flatpak-debuginfo - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1
flatpak - addressed in versions 1.16.6-150500.3.21.1, 1.16.6-150600.3.12.1

External References

Related Security Bulletins