CVE Vulnerabilities

CVE-2026-87766

Improper Link Resolution Before File Access ('Link Following')

Published: Sep 09, 2026 | Modified: Oct 20, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 10RedHatbubblewrap-0:0.10.0-5.el10_2*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatbubblewrap-0:0.10.0-3.el10_0.4*
Red Hat Enterprise Linux 8RedHatbubblewrap-0:0.4.0-3.el8_10*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatbubblewrap-0:0.4.0-3.el8_4*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatbubblewrap-0:0.4.0-3.el8_4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatbubblewrap-0:0.4.0-3.el8_6*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatbubblewrap-0:0.4.0-3.el8_6*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatbubblewrap-0:0.4.0-3.el8_8*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatbubblewrap-0:0.4.0-3.el8_8*
Red Hat Enterprise Linux 9RedHatbubblewrap-0:0.6.3-1.el9_8.1*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatbubblewrap-0:0.4.1-7.el9_2.1*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatbubblewrap-0:0.4.1-7.el9_4.1*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatbubblewrap-0:0.4.1-8.el9_6.1*
BubblewrapUbuntuesm-infra/bionic*
BubblewrapUbuntuesm-infra/focal*
BubblewrapUbuntujammy*
BubblewrapUbuntunoble*
BubblewrapUbunturesolute*
BubblewrapUbuntuupstream*

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References