Intel

AIKIDO-2026-766663

flatpak is vulnerable to Path Traversal

Path TraversalGHSA-w69g-9x8j-7p8f Published Aug 13, 2026

33

Low Risk

This Affects:

OSflatpak
0.0.1 - 1.18.0
Fixed in 1.18.1
Are you affected? Scan for Free

TL;DR

When launching an application, Flatpak performs host-side file operations inside extension content directories using path APIs that follow symlinks without confinement, and it does not validate extension metadata fields for path traversal. A malicious extension can place symlinks or absolute and .. metadata values so that checking the .ref marker and iterating merge_dirs reveals which host paths exist and reflects host directory listings into the sandbox, and so that extension content is mounted at unintended locations. This discloses host filesystem structure to sandboxed apps and can override runtime directories. The fix rejects path traversal in extension metadata and uses confined host-side file access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you install a Flatpak extension from an untrusted source.

Background info

flatpak is vulnerable to Path Traversal in versions 0.0.1 - 1.18.0.

How to fix this

Upgrade the flatpak library to the patch version.