Link following in Flatpak - CVE-2026-96807
Published: August 11, 2026 / Updated: September 28, 2026
Vulnerability details
The vulnerability allows a local user to write files with fixed names and fixed content outside of the sandbox.
The vulnerability exists due to improper link resolution in regenerate_ld_cache when handling a symlinked ~/.var/app/$appid/.ld.so path. A local user can replace ~/.var/app/$appid/.ld.so with a symlink to write files with fixed names and fixed content outside of the sandbox.
The filenames and file content are not attacker-controlled, which makes exploitation difficult.