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.
Published: 2026-04-07
Score: 9.3 Critical
EPSS: 1.6% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an application running within a Flatpak sandbox to escape the confinement by creating symlinks that resolve to arbitrary host paths when passed to the sandbox‑expose options. Once the host paths are mounted, the app gains unrestricted read and write access to all files on the host system and may execute code in the host context. This represents a significant compromise of confidentiality, integrity, and availability of the host environment. The weakness aligns with path traversal (CWE‑59) and file inclusion (CWE‑61).

Affected Systems

All installations of Flatpak using the Flatpak portal preceding version 1.16.4 are affected. Users of the flatpak:flatpak product that rely on sandbox-expose feature must verify their current version and update. No other vendors or products are listed as impacted.

Risk and Exploitability

The CVSS score of 9.3 classifies the flaw as critical, and the EPSS score of 2% indicates a low probability of exploitation in the wild. Based on the description, it is inferred that the vulnerability allows a local attacker who can run a malicious Flatpak application to access host files and potentially execute code in the host context. It is not listed in KEV, suggesting it has not yet been widely exploited.

Generated by OpenCVE AI on June 18, 2026 at 09:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Flatpak to version 1.16.4 or later.
  • Disable or restrict use of the sandbox-expose portal options if not needed.
  • Apply a sandbox policy that disallows or limits sandbox-expose options for all installed applications.

Generated by OpenCVE AI on June 18, 2026 at 09:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6207-1 flatpak security update
Debian DSA Debian DSA DSA-6223-1 flatpak security update
History

Fri, 24 Apr 2026 18:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

cvssV3_1

{'score': 10.0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Sat, 11 Apr 2026 01:30:00 +0000

Type Values Removed Values Added
References

Thu, 09 Apr 2026 11:30:00 +0000

Type Values Removed Values Added
References

Wed, 08 Apr 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Flatpak
Flatpak flatpak
Vendors & Products Flatpak
Flatpak flatpak

Wed, 08 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-59
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

threat_severity

Moderate


Tue, 07 Apr 2026 22:00:00 +0000

Type Values Removed Values Added
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.
Title Flatpak has a complete sandbox escape leading to host file access and code execution in the host context
Weaknesses CWE-61
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-11T00:21:12.650Z

Reserved: 2026-03-25T16:21:40.868Z

Link: CVE-2026-34078

cve-icon Vulnrichment

Updated: 2026-04-11T00:21:12.650Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-07T22:16:21.930

Modified: 2026-06-17T10:38:31.663

Link: CVE-2026-34078

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-07T21:27:45Z

Links: CVE-2026-34078 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T09:30:15Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following