CVE-2026-96807
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | flatpak | Under investigation | UBUNTU-CVE-2026-96807 | |
| Ubuntu 24.04 | flatpak | Fix pending | UBUNTU-CVE-2026-96807 | |
| Ubuntu 22.04 | flatpak | Fix pending | UBUNTU-CVE-2026-96807 | |
| Ubuntu 20.04 | flatpak | Fix pending | UBUNTU-CVE-2026-96807 | |
| Ubuntu 18.04 | flatpak | Fix pending | UBUNTU-CVE-2026-96807 | |
| Debian 14 | flatpak | Fixed | 1.18.1-1 | DEBIAN-CVE-2026-96807 |
| Debian 13 | flatpak | Fixed | 1.16.6-1~deb13u2 | DEBIAN-CVE-2026-96807 |
| Debian 12 | flatpak | Fix pending | DEBIAN-CVE-2026-96807 | |
| Red Hat Enterprise Linux 10 | flatpak | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | flatpak-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | flatpak-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | flatpak-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | flatpak-session-helper | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | flatpak | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | flatpak-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | flatpak-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | flatpak-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | flatpak-session-helper | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | flatpak | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | flatpak-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | flatpak-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | flatpak-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | flatpak-session-helper | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | flatpak | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | flatpak-builder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | flatpak-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | flatpak-libs | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Flatpak: affected: before 1.18.1; fixed in
1.18.1
Solution: The issue has been fixed in version 1.18.1 by commits: * e13dfed https://github.com/flatpak/flatpak/commit/e13dfeda330625d2fecc3a54672dfd4dc9c83a5c "common: Fix return value and typos in flatpak_switch_symlink_and_remove" * f6c8fb5 https://github.com/flatpak/flatpak/commit/f6c8fb5fdb3737e2f45068afe12c4bf1d808fd55 "common: Use fd-based operations in flatpak_switch_symlink_and_remove" * 76c9296 https://github.com/flatpak/flatpak/commit/76c9296b6780ca67f44cf67f0823f086d692a592 "run: Harden regenerate_ld_cache against symlink attacks" For LTS operating system distributions, backports of these changes are available in the flatpak-1.16.x branch. Please note that cherry-picked libglnx changes "chase: Add internal glnx_chaseat_full for a strategic callback" and "chase: Add glnx_chase_and_mkdirat" are also required.
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.