# CVE-2026-34078: Flatpak has a complete sandbox escape leading to host file access and code execution in the host context

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.95% (percentile 60, 2026-11-26)
- **CWE:** CWE-61
- **Published:** 2026-04-07T21:27:45.643Z
- **Modified:** 2026-07-24T22:10:00.140Z

## Who should check

- Anyone running flatpak \< 1.16.4

## 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.

## Affected and fixed versions

- flatpak: \< 1.16.4 (cvelist)

## Mitigation

- Upgrade flatpak to 1.16.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-34078. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-34078.md
Affected: flatpak < 1.16.4
Fixed in: flatpak 1.16.4

Steps:
1. Search this machine and project for flatpak: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-34078 being exploited?

There is no confirmed exploitation: CVE-2026-34078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-34078?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-34078?

flatpak \< 1.16.4.

### Is there a fix for CVE-2026-34078?

Yes. Fixed in flatpak 1.16.4. Upgrade flatpak to 1.16.4 or later.

### How do I check if I'm affected by CVE-2026-34078?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/flatpak/flatpak/security/advisories/GHSA-cc2q-qc34-jprg>
- vendor: <https://access.redhat.com/errata/RHSA-2026:35843>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23420>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21757>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21756>
- vendor: <https://access.redhat.com/errata/RHSA-2026:30901>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25381>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25068>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23419>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23417>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23418>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21755>
- other: <http://www.openwall.com/lists/oss-security/2026/04/09/8>
- other: <http://www.openwall.com/lists/oss-security/2026/04/10/14>
- other: <https://access.redhat.com/security/cve/CVE-2026-34078>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2456276>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34078.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-34078>

HTML: <https://flawdb.com/CVE-2026-34078> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-34078>
