ZeroHour
oss-securitypublished ()ingested

Re: bubblewrap 0.12.0 fixes writes outside sandbox

mediumVulnerabilityimportance 30CVE-2026-87766
AI summary · glm-5.3-flash

Red Hat Product Security allocated CVE-2026-87766 for a bubblewrap flaw fixed in 0.12.0 that allowed writes outside the sandbox.

CVE-2026-87766 has been allocated by Red Hat Product Security for the bubblewrap sandboxing tool vulnerability that permitted writes outside the sandbox. The fix shipped in bubblewrap 0.12.0, and the oss-security advisory was updated with the new CVE identifier. The short follow-up post provides no exploitation details.

  • CVE-2026-87766 assigned by Red Hat Product Security
  • Fix available in bubblewrap 0.12.0
VendorsRed Hat
Productsbubblewrap

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2026-87766
Symlink-following sandbox escape (arbitrary file write) in bubblewrap before 0.12.0

CVE-2026-87766 is a symlink-following flaw (CWE-59) in bubblewrap, the Linux sandboxing tool: during sandbox setup, when bubblewrap creates files or directories under the new root, it can follow a parent symlink through /oldroot onto the host filesystem. The attack is triggered locally (CVSS AV:L/PR:L) before the sandboxed process starts, by an attacker with low privileges who can influence the sandbox setup, for example a sandboxed application being launched or a nested-bwrap scenario, so that writes land at attacker-chosen paths outside the sandbox. The attacker gains the ability to create or overwrite files and directories on the host with the privileges of the user launching the sandbox, breaking the sandbox boundary (CVSS scope-changed, S:C, with high confidentiality, integrity and availability impact; 8.8 High). Any Linux system running bubblewrap versions prior to 0.12.0 is affected, notably desktop distributions where bubblewrap is pulled in as a Flatpak dependency and other tooling that invokes bwrap for sandboxing. No exploitation is currently known: the flaw is not in CISA KEV, no public proof-of-concept is known, and the issue (GHSA-pxhw-h44j-8pfx, assigned by Red Hat) is fixed upstream in bubblewrap 0.12.0.

Do: Upgrade bubblewrap to 0.12.0 or install your distribution's patched package, and watch for vendor advisories (the CNA is Red Hat; the issue is tracked as GHSA-pxhw-h44j-8pfx). Check the installed version with bwrap --version and, until patched, avoid launching bwrap sandboxes with attacker-controlled directories or symlinks in the sandbox source tree, and treat nested-sandbox launches as a potential escape vector. No public PoC or in-the-wild exploitation is known, so patching can follow normal maintenance cadence.

8.8<1%
  • bubblewrap project (freedesktop.org) bubblewrap all versions prior to 0.12.0
masslikely millions of Linux installations (shipped with Flatpak and widely packaged across major distros); exact install counts not published
Full article

Posted by Simon McVittie on Sep 09 CVE-2026-87766 has now been allocated for this vulnerability (thanks to Red Hat Product Security). I've updated the advisory accordingly. smcv

This source does not provide full text. Read it at seclists.org.