Link following in Flatpak - #VU141408
Published: August 11, 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.