CVE-2026-87766
Bubblewrap: bubblewrap: symlink traversal via /oldroot allows writing files outside sandbox during setup
Check your servers for CVE-2026-87766
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-87766 affects bubblewrap, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 9 Sep 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-59 Improper Link Resolution Before File Access
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Red Hat Enterprise Linux 10
package
bubblewrap |
unaffected 0:0.10.0-5.el10_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
bubblewrap |
unaffected 0:0.10.0-3.el10_0.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
bubblewrap |
unaffected 0:0.4.0-3.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
bubblewrap |
unaffected 0:0.4.0-3.el8_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
bubblewrap |
unaffected 0:0.4.0-3.el8_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
bubblewrap |
unaffected 0:0.4.0-3.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
package
bubblewrap |
unaffected 0:0.4.0-3.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
bubblewrap |
unaffected 0:0.4.0-3.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
bubblewrap |
unaffected 0:0.4.0-3.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
bubblewrap |
unaffected 0:0.6.3-1.el9_8.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
bubblewrap |
unaffected 0:0.6.3-1.el9_9.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
bubblewrap |
unaffected 0:0.4.1-7.el9_2.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
package
bubblewrap |
unaffected 0:0.4.1-7.el9_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
bubblewrap |
unaffected 0:0.4.1-8.el9_6.1 and later
Other versions: affected
|
|
Red Hat Hardened Images
package
bubblewrap |
unaffected the record does not list versions
|
Is my server affected?
Find the installed version of bubblewrap and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i bubblewrap
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-87766 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-87766RHEL, Rocky, Alma, Fedora
rpm -q bubblewrap
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-87766Alpine
apk list --installed | grep -i bubblewrapWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-87766
trivy image --scanners vuln IMAGE | grep CVE-2026-87766
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2026:85306 access.redhat.com · vendor advisory
- RHSA-2026:85308 access.redhat.com · vendor advisory
- RHSA-2026:85309 access.redhat.com · vendor advisory
- RHSA-2026:85312 access.redhat.com · vendor advisory
- RHSA-2026:85313 access.redhat.com · vendor advisory
- RHSA-2026:85317 access.redhat.com · vendor advisory
- RHSA-2026:85319 access.redhat.com · vendor advisory
- RHSA-2026:85322 access.redhat.com · vendor advisory
- RHSA-2026:85324 access.redhat.com · vendor advisory
- RHSA-2026:85325 access.redhat.com · vendor advisory
- RHSA-2026:98521 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-87766 access.redhat.com · vdb entry
- RHBZ#2530542 bugzilla.redhat.com · issue tracking
Other references
- https://bugs.debian.org/1145655 bugs.debian.org
- https://github.com/containers/bubblewrap/releases/tag/v0.12.0 github.com
- https://github.com/containers/bubblewrap/security/advisories/GHSA-pxhw-h44j-8pfx github.com
- https://www.openwall.com/lists/oss-security/2026/08/27/7 openwall.com
- http://www.openwall.com/lists/oss-security/2026/09/09/3 openwall.com
- http://www.openwall.com/lists/oss-security/2026/09/22/23 openwall.com
Source: the record CVE-2026-87766 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse