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

CVE-2026-96807

Symlink-based arbitrary file write in Flatpak ld cache regeneration (fixed in 1.18.1)

CVSS 3.1
4.0 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-96807 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Flatpak versions before 1.18.1 follow attacker-controlled symlinks when regenerating the dynamic linker cache for a sandboxed app: a malicious app can replace ~/.var/app/$appid/.ld.so with a symlink, causing Flatpak's regenerate_ld_cache routine to write its cache files at an arbitrary filesystem location. The write happens through normal app-launch/cache-regeneration flows, so no privileges or user interaction are required beyond the malicious app already being installed and run. What the attacker gains is limited: the filename and contents of the written files are not attacker-controlled, which the CVE description itself notes makes the flaw hard to exploit, so realistic impact is low integrity/availability impact (file clobbering or corruption) rather than straightforward code execution. Anyone running Flatpak before 1.18.1 on a Linux desktop with sandboxed apps installed is theoretically in scope, though exploitation depends on having a malicious app in place. No public proof-of-concept is known, this is not on the CISA KEV list, and no exploitation in the wild has been reported.

What to do: Upgrade Flatpak to 1.18.1 or later (or apply your distribution's backported security update) — the release notes indicate 1.18.1 fixes multiple vulnerabilities, so it is worth prioritizing. Verify with 'flatpak --version' on Linux desktops under management. Additionally, audit installed Flatpak apps and their remotes for untrusted sources, and check ~/.var/app/<appid>/.ld.so paths for unexpected symlinks, removing any found.

ProductAffected
Flatpak (freedesktop.org) Flatpakbefore 1.18.1 (all versions prior to 1.18.1; note distributions may ship backported fixes in older version branches)
Estimated exposure
massmillions of Linux desktops running Flatpak (installed by default on Fedora and widely adopted across other major distributions via Flathub) — Flatpak is the default application-sandboxing framework on Fedora and is widely installed across mainstream Linux distributions, with Flathub reporting a very large active user base, so the installed base is plausibly in the millions;…

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, a malicious sandboxed app can replace ~/.var/app/$appid/.ld.so with a symlink, causing regenerate_ld_cache to write files at an arbitrary location. The filenames and content are not attacker controlled, making this hard to exploit.

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

In the news

1 story