Intel

AIKIDO-2026-472625

flatpak is vulnerable to Path Traversal

Path TraversalGHSA-v2gw-v9h5-9q4x Published Aug 13, 2026

76

High Risk

This Affects:

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

TL;DR

The Flatpak system helper's DeployAppstream method uses a caller-supplied architecture name to build filesystem paths without validating it. On systems with at least one OCI remote configured, a local user with an active session can pass a crafted architecture value containing path components to make the privileged helper create root-owned directories, a lock file, and an icons directory outside the intended location, with contents determined by the OCI remote. The fix validates remote name and architecture arguments before using them in paths.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and at least one OCI remote is configured on the system.

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.