CVEfocus › CVE database › CVE-2026-96807

CVE-2026-96807

CVSS 4.0 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-09-23Updated 2026-09-26Assigner: mitre

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.

CWE-61

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

2Fixed
24Fix pending
1Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04flatpakUnder investigationUBUNTU-CVE-2026-96807
Ubuntu 24.04flatpakFix pendingUBUNTU-CVE-2026-96807
Ubuntu 22.04flatpakFix pendingUBUNTU-CVE-2026-96807
Ubuntu 20.04flatpakFix pendingUBUNTU-CVE-2026-96807
Ubuntu 18.04flatpakFix pendingUBUNTU-CVE-2026-96807
Debian 14flatpakFixed1.18.1-1DEBIAN-CVE-2026-96807
Debian 13flatpakFixed1.16.6-1~deb13u2DEBIAN-CVE-2026-96807
Debian 12flatpakFix pendingDEBIAN-CVE-2026-96807
Red Hat Enterprise Linux 10flatpakFix pending
Fix deferred
Red Hat Enterprise Linux 10flatpak-develFix pending
Fix deferred
Red Hat Enterprise Linux 10flatpak-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10flatpak-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 10flatpak-session-helperFix pending
Fix deferred
Red Hat Enterprise Linux 9flatpakFix pending
Fix deferred
Red Hat Enterprise Linux 9flatpak-develFix pending
Fix deferred
Red Hat Enterprise Linux 9flatpak-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9flatpak-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 9flatpak-session-helperFix pending
Fix deferred
Red Hat Enterprise Linux 8flatpakFix pending
Fix deferred
Red Hat Enterprise Linux 8flatpak-develFix pending
Fix deferred
Red Hat Enterprise Linux 8flatpak-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8flatpak-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 8flatpak-session-helperFix pending
Fix deferred
Red Hat Enterprise Linux 7flatpakFix pending
Fix deferred
Red Hat Enterprise Linux 7flatpak-builderFix pending
Fix deferred
Red Hat Enterprise Linux 7flatpak-develFix pending
Fix deferred
Red Hat Enterprise Linux 7flatpak-libsFix 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.

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.