---
id: CVE-2026-96807
title: >-
  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
summary: >-
  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 t…
severity: medium
cvss: 4
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'
cwe:
  - CWE-61
  - CWE-22
vendor: Flatpak
product: Flatpak
affected:
  - Flatpak < 1.18.1
published: '2026-09-23'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:00:46.893'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96807'
references:
  - url: 'https://github.com/flatpak/flatpak/security/advisories/GHSA-99wv-m8rp-g58x'
    label: cve@mitre.org
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-96807.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-96807'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2539543'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-96807'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96807'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00123
epssPercentile: 0.01761
scores:
  nvd: 4
  vendor: 4.5
ingestedAt: '2026-09-23T17:28:14.859Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-96807.json)
