CVEfocus › CVE database › CVE-2026-87766

CVE-2026-87766Bubblewrap: bubblewrap: symlink traversal via /oldroot allows writing files outside…

CVSS 8.8 HighEPSS 0.2% (higher than 6% of CVEs)Published 2026-09-09Updated 2026-11-11Assigner: redhat

A flaw was found in bubblewrap. During sandbox setup, creating files or directories under the new root can follow a parent symlink onto the host via /oldroot, writing attacker-chosen paths outside the sandbox as the launching user. This happens before the sandboxed process starts. This issue is GHSA-pxhw-h44j-8pfx. It is fixed in bubblewrap 0.12.0.

CWE-59

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
6Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04bubblewrapFix pendingUBUNTU-CVE-2026-87766
Ubuntu 24.04bubblewrapFix pendingUBUNTU-CVE-2026-87766
Ubuntu 22.04bubblewrapFix pendingUBUNTU-CVE-2026-87766
Ubuntu 20.04bubblewrapFix pendingUBUNTU-CVE-2026-87766
Ubuntu 18.04bubblewrapFix pendingUBUNTU-CVE-2026-87766
Debian 14bubblewrapFixed0.12.0-1DEBIAN-CVE-2026-87766
Debian 13bubblewrapFixed0.12.0-1~deb13u1DEBIAN-CVE-2026-87766
Debian 12bubblewrapFix pendingDEBIAN-CVE-2026-87766
Red Hat Enterprise Linux 10bubblewrapFixed0:0.10.0-5.el10_2RHSA-2026:85308
Red Hat Enterprise Linux 9bubblewrapFixed0:0.6.3-1.el9_9.1RHSA-2026:85309
Red Hat Enterprise Linux 8bubblewrapFixed0:0.4.0-3.el8_10RHSA-2026:85306
AlmaLinux 10bubblewrapFixed0.10.0-5.el10_2ALSA-2026:85308
AlmaLinux 9bubblewrapFixed0.6.3-1.el9_9.1ALSA-2026:85309
AlmaLinux 8bubblewrapFixed0.4.0-3.el8_10ALSA-2026:85306
Rocky Linux 10bubblewrapFixed0:0.10.0-5.el10_2RLSA-2026:85308
Rocky Linux 9bubblewrapFixed0:0.6.3-1.el9_8.1RLSA-2026:98521
Rocky Linux 8bubblewrapFixed0:0.4.0-3.el8_10RLSA-2026:85306

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Do not create files on untrusted content with unpatched bwrap. Do not install untrusted Flatpaks. No upstream fix for older setuid builds.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.