<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7" -->

---
title: CVE-2026-34078: Complete sandbox escape leading to host...
description: A critical security vulnerability (CVE-2026-34078) in Flatpak allows any Flatpak app to completely escape its sandbox, gaining read/write access to arbitrary...
canonical: https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CVE-2026-34078: Complete sandbox escape leading to host file access and code execution in the host context | daily.dev
og:description: A critical security vulnerability (CVE-2026-34078) in Flatpak allows any Flatpak app to completely escape its sandbox, gaining read/write access to arbitrary...
og:url: https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7
og:image: https://api.daily.dev/og/posts/SyOX08ur7.png
og:image:alt: CVE-2026-34078: Complete sandbox escape leading to host file access and code execution in the host context
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CVE-2026-34078: Complete sandbox escape leading to host file access and code execution in the host context

**[Lobsters](https://daily.dev/sources/lobsters)** · 1 min read · 0 upvotes · 0 comments

## Summary

A critical security vulnerability (CVE-2026-34078) in Flatpak allows any Flatpak app to completely escape its sandbox, gaining read/write access to arbitrary host files and the ability to execute code in the host context. The flaw exists because the Flatpak portal accepts paths in the `sandbox-expose` options that can be app-controlled symlinks pointing to arbitrary host paths, which Flatpak then mounts inside the sandbox. The issue is patched in version 1.16.4 and will be addressed in the upcoming 1.18.0. A temporary mitigation is to disable the Flatpak Portal service, though this may cause some apps to misbehave. The vulnerability was reported by Codean Labs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/flatpak/flatpak/security/advisories/GHSA-cc2q-qc34-jprg>

## Similar posts on daily.dev

- [Arbitrary code execution breaking sandboxes in KDE Plasma](https://daily.dev/posts/arbitrary-code-execution-breaking-sandboxes-in-kde-plasma-dgv9mu1kd) · Lobsters · 2 upvotes · 0 comments
- [A Skipped Cookie Check Let Flatpak Apps Escape PipeWire’s Sandbox Entirely](https://daily.dev/posts/a-skipped-cookie-check-let-flatpak-apps-escape-pipewire-s-sandbox-entirely-i32pfsskc) · Latest Hacking News · 0 upvotes · 0 comments
- [Escaping Linux Sandboxes via PipeWire \(CVE-2026-5674\) · Embrace The Red](https://daily.dev/posts/escaping-linux-sandboxes-via-pipewire-cve-2026-5674-embrace-the-red-x9e0vsjk1) · Embrace The Red · 1 upvotes · 0 comments
- [XDG-Desktop-Portal 1.20.4 Released To Protect Against Apps Trashing Arbitrary Host Files](https://daily.dev/posts/xdg-desktop-portal-1-20-4-released-to-protect-against-apps-trashing-arbitrary-host-files-tvpwpcrkc) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CVE-2026-34078: Complete sandbox escape leading to host file access and code execution in the host context","url":"https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7"},"datePublished":"2026-04-09T12:20:05.327Z","dateModified":"2026-04-09T12:20:49.237Z","description":"A critical security vulnerability (CVE-2026-34078) in Flatpak allows any Flatpak app to completely escape its sandbox, gaining read/write access to arbitrary...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d558e59f621294856d3be45011c396fa?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d558e59f621294856d3be45011c396fa?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cve-2026-34078-complete-sandbox-escape-leading-to-host-file-access-and-code-execution-in-the-host-c-syox08ur7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,linux","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"CVE-2026-34078: Complete sandbox escape leading to host file access and code execution in the host context"}]}
```

