CVE-2026-34078
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-07
- Last modified
- 2026-07-24
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.7 %
higher than 75 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Flatpak | Flatpak | ≤ 1.16.3 | Affected |
Weakness type
-
CWE-59: Improper Link Resolution Before File Access
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
-
CWE-61: UNIX Symbolic Link (Symlink) Following
The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause t…
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1547.009: Shortcut Modification
- T1564.009: Resource Forking
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
References
- https://github.com/flatpak/flatpak/security/advisories/GHSA-cc2q-qc34-jprg
- http://www.openwall.com/lists/oss-security/2026/04/09/8
- http://www.openwall.com/lists/oss-security/2026/04/10/14
- https://access.redhat.com/errata/RHSA-2026:21755
- https://access.redhat.com/errata/RHSA-2026:21756
- https://access.redhat.com/errata/RHSA-2026:21757
- https://access.redhat.com/errata/RHSA-2026:23417
- https://access.redhat.com/errata/RHSA-2026:23418
- https://access.redhat.com/errata/RHSA-2026:23419
- https://access.redhat.com/errata/RHSA-2026:23420
- https://access.redhat.com/errata/RHSA-2026:25068
- https://access.redhat.com/errata/RHSA-2026:25381
- https://access.redhat.com/errata/RHSA-2026:30901
- https://access.redhat.com/errata/RHSA-2026:35843
- https://access.redhat.com/security/cve/CVE-2026-34078
- https://bugzilla.redhat.com/show_bug.cgi?id=2456276
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34078.json
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.