cve.bz

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

8.8 highEPSS 0.2%Fix available

High (8.8) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:0.10.0-5.el10_2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:0.10.0-3.el10_0.4
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:0.4.0-3.el8_10
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:0.4.0-3.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:0.4.0-3.el8_4
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:0.4.0-3.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: fixed in 0:0.4.0-3.el8_6
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service: fixed in 0:0.4.0-3.el8_8
  • Debian, Red Hat, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-87766 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87766?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87766?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87766 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 10.0 extended update support
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 8.4 advanced mission critical update support
  • red hat:red hat enterprise linux 8.4 extended update support long-life add-on
  • red hat:red hat enterprise linux 8.6 advanced mission critical update support
  • red hat:red hat enterprise linux 8.6 extended update support long-life add-on
  • red hat:red hat enterprise linux 8.8 telecommunications update service
  • red hat:red hat enterprise linux 8.8 update services for sap solutions
  • red hat:red hat enterprise linux 9
  • red hat:red hat enterprise linux 9.2 update services for sap solutions
  • red hat:red hat enterprise linux 9.4 update services for sap solutions
  • red hat:red hat enterprise linux 9.6 extended update support
  • red hat:red hat hardened images

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:0.10.0-5.el10_2
Red Hat Enterprise Linux 10.0 Extended Update Support0:0.10.0-3.el10_0.4
Red Hat Enterprise Linux 80:0.4.0-3.el8_10
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:0.4.0-3.el8_4
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:0.4.0-3.el8_4
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:0.4.0-3.el8_6
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:0.4.0-3.el8_6
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:0.4.0-3.el8_8
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:0.4.0-3.el8_8
Red Hat Enterprise Linux 90:0.6.3-1.el9_8.1
Red Hat Enterprise Linux 90:0.6.3-1.el9_9.1
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:0.4.1-7.el9_2.1
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:0.4.1-7.el9_4.1
Red Hat Enterprise Linux 9.6 Extended Update Support0:0.4.1-8.el9_6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12bubblewrapno fix listedDEBIAN-CVE-2026-87766
Debian13bubblewrap0.12.0-1~deb13u1DEBIAN-CVE-2026-87766
Debian14bubblewrap0.12.0-1DEBIAN-CVE-2026-87766
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 2 morebubblewrapno fix listedUBUNTU-CVE-2026-87766 USN-8779-1
Red Hatenterprise_linux:8::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.0-3.el8_10RHSA-2026:85306
Red Hatenterprise_linux:9::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.6.3-1.el9_8.1RHSA-2026:85309
Red Hatenterprise_linux:9::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.6.3-1.el9_9.1RHSA-2026:98521
Red Hatenterprise_linux:10.2bubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.10.0-5.el10_2RHSA-2026:85308
Red Hatenterprise_linux_eus:10.0bubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.10.0-3.el10_0.4RHSA-2026:85312
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.0-3.el8_4RHSA-2026:85317
Red Hatrhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.0-3.el8_6RHSA-2026:85324
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.0-3.el8_8RHSA-2026:85313
Red Hatrhel_e4s:9.2::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.1-7.el9_2.1RHSA-2026:85322
Red Hatrhel_e4s:9.4::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.1-7.el9_4.1RHSA-2026:85319
Red Hatrhel_eus:9.6::baseosbubblewrap, bubblewrap-debuginfo, bubblewrap-debugsource0:0.4.1-8.el9_6.1RHSA-2026:85325
openSUSETumbleweedflatpak1.18.3-1.1openSUSE-SU-2026:11873-1
AlmaLinux8bubblewrap0.4.0-3.el8_10ALSA-2026:85306
AlmaLinux9bubblewrap0.6.3-1.el9_8.1ALSA-2026:85309
AlmaLinux10bubblewrap0.10.0-5.el10_2ALSA-2026:85308
Rocky Linux8bubblewrap0:0.4.0-3.el8_10RLSA-2026:85306
Rocky Linux9bubblewrap0:0.6.3-1.el9_8.1RLSA-2026:85309 RLSA-2026:98521
Rocky Linux10bubblewrap0:0.10.0-5.el10_2RLSA-2026:85308
Azure Linux3bubblewrap0.12.0-1AZL-100908

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw in bubblewrap is rated as Important because it allows a local attacker to write files outside of a sandbox on the host system. This occurs during the initial setup phase, before any sandboxed process begins, by exploiting symlink traversal when processing untrusted application images, such as those used by Flatpak. While the created files are written with the privileges of the user launching bubblewrap, this can lead to unintended file creation on the host filesystem.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10bubblewrap-0:0.10.0-5.el10_2Fixed 2026-10-19RHSA-2026:85308
Red Hat Enterprise Linux 10.0 Extended Update Supportbubblewrap-0:0.10.0-3.el10_0.4Fixed 2026-10-19RHSA-2026:85312
Red Hat Enterprise Linux 8bubblewrap-0:0.4.0-3.el8_10Fixed 2026-10-19RHSA-2026:85306
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportbubblewrap-0:0.4.0-3.el8_4Fixed 2026-10-19RHSA-2026:85317
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onbubblewrap-0:0.4.0-3.el8_4Fixed 2026-10-19RHSA-2026:85317
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportbubblewrap-0:0.4.0-3.el8_6Fixed 2026-10-19RHSA-2026:85324
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onbubblewrap-0:0.4.0-3.el8_6Fixed 2026-10-19RHSA-2026:85324
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicebubblewrap-0:0.4.0-3.el8_8Fixed 2026-10-19RHSA-2026:85313
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsbubblewrap-0:0.4.0-3.el8_8Fixed 2026-10-19RHSA-2026:85313
Red Hat Enterprise Linux 9bubblewrap-0:0.6.3-1.el9_8.1Fixed 2026-10-19RHSA-2026:85309
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsbubblewrap-0:0.4.1-7.el9_2.1Fixed 2026-10-19RHSA-2026:85322
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsbubblewrap-0:0.4.1-7.el9_4.1Fixed 2026-10-19RHSA-2026:85319
Red Hat Enterprise Linux 9.6 Extended Update Supportbubblewrap-0:0.4.1-8.el9_6.1Fixed 2026-10-19RHSA-2026:85325
Red Hat Hardened ImagesbubblewrapNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87766.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON