Skip to content
NewA calmer, faster ZeroHour
Vulnerability3 · 1 read

CVE-2026-96808

Symlink traversal in Flatpak revokefs allows local root privilege escalation

CVSS 3.1
7.4 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-96808 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Flatpak before 1.18.1 contains a symlink-traversal flaw (CWE-61) in the revokefs writer used by flatpak-system-helper to receive repository data from unprivileged callers: it rejected literal '..' path components but did not block traversal through symlinks. A malicious local user with an active session could open two revokefs sessions via the system helper, place a symlink in one pointing into the other's directory, and retain a file descriptor to modify files after they had been validated and imported. This enables tampering with ostree commit objects in the system repository after they passed signature verification, yielding root-controlled file writes to attacker-chosen paths and full local root privilege escalation (CVSS 3.1: 7.4, high; attack complexity is high and an active local session is required). Anyone running a vulnerable Flatpak build that uses the revokefs-backed system helper — common in mainstream Linux desktop distributions — is affected. No public proof of concept is known and there is no indication of exploitation in the wild.

What to do: Upgrade Flatpak to 1.18.1 or later (or apply your distribution's patched security package) and verify with 'flatpak --version'. Restrict interactive local accounts on multi-user desktops and kiosk-style shared systems, since exploitation requires an active local session. Watch for anomalous writes to /var/lib/flatpak ostree objects or unexpected setuid binaries owned by root following any local session activity on unpatched hosts.

ProductAffected
Flatpak project (freedesktop.org) Flatpak (revokefs writer / flatpak-system-helper)before 1.18.1
Estimated exposure
masstens of millions of Linux desktops run Flatpak, with a vulnerable subset using the revokefs system-helper backend — Flatpak is bundled as the default or primary application framework on major Linux desktop distributions (e.g., Fedora variants, Pop!_OS, Zorin OS, Endless OS, SteamOS), and while the revokefs code path is only exercised on some of those…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

In Flatpak before 1.18.1, the revokefs writer, used by the flatpak-system-helper to receive repository data from unprivileged callers, validated file paths by rejecting literal .. components but did not prevent symlink traversal. A malicious local user in an active local session could obtain two revokefs sessions via the system helper, create a symlink in one session pointing into the other session's directory, and retain a file descriptor through that symlink. This allowed the attacker to modify files belonging to a different revokefs session after they had been validated and imported by the system helper. In particular, an attacker could use this to tamper with ostree commit objects in the system repository after they passed signature verification, enabling root-controlled file writes to attacker-chosen paths and local root privilege escalation.

Weakness
CWE-61
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

1 story