
The Flatpak project released Flatpak 1.18.6 on November 24, a security update fixing two local vulnerabilities: one that can leave a setuid-root executable on the host during a system-wide install, and one that lets an ordinary sandboxed app escape its sandbox. Maintainer Simon McVittie announced the release on the oss-security list the same day, stating that all older releases should be assumed vulnerable. Independent coverage from Linuxiac's Bobby Borisov on November 24 and FOSSLinux's Sarah L. on November 25 confirms the details and adds the homelab-relevant context below.
/var/lib/flatpak that a local user can run to gain root. The advisory credits RoyalOughtness for the report and rates the issue High severity, with secondary coverage reporting a CVSS score of 8.2. The fix fails closed rather than trusting permissions it cannot verify.flatpak-portal helper spawns a subsandbox, a crafted mapping of two file descriptors onto one handle could make an internal dup2() call fail silently, leaking one of the portal's own descriptors, predictably the unfiltered D-Bus session bus, into the sandbox. Per the project's advisory, any Flatpak app with no special permissions could exploit this for a full sandbox escape. Reported by refi64, rated High severity, with secondary coverage reporting CVSS 7.3.flatpak-1.16.x branch for LTS systems such as Debian 13, which McVittie says should appear in a Debian security update soon, though that is his expectation rather than a shipped update at the time of writing. Check with your distribution's security tracker rather than waiting for an upstream version bump.Flatpak is how many homelabbers put desktop apps on HTPCs, workshop machines, and Linux VMs without polluting the base system, and its whole promise is that a bad app cannot become root or leave its box. These two flaws break both halves of that promise at once, which is why this update deserves priority over routine point releases. The fix itself is the standard path: check your version with flatpak --version, update through your distribution's package manager rather than chasing upstream tarballs, and re-check the version afterward since distro packages can lag the upstream tag by days. No restart requirement is stated in the advisories, but I have not tested whether running apps pick up the portal fix without a session restart, so logging out and back in after updating is the cautious move.
Log in to comment.