Flatpak has a complete sandbox escape leading to host file access and code execution in the host context
flatpak
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| flatpak flatpak |
| No fix yet |
Original description
Flatpak is a Linux application sandboxing and distribution framework. Prior to 1.16.4, the Flatpak portal accepts paths in the sandbox-expose options which can be app-controlled symlinks pointing at arbitrary paths. Flatpak run mounts the resolved host path in the sandbox. This gives apps access to all host files and can be used as a primitive to gain code execution in the host context. This vulnerability is fixed in 1.16.4.
From the CVE record · GitHub_M