Link following in Bubblewrap - CVE-2026-87766
Published: August 27, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a local user to write files outside the sandbox.
The vulnerability exists due to improper link resolution before file access in the bubblewrap sandbox setup logic when creating files or directories on attacker-controlled filesystem content. A local user can use symlinks that redirect through /oldroot to write files outside the sandbox.
This issue occurs during sandbox setup before anything is running inside the sandbox, and exploitation requires bubblewrap to create files on attacker-controlled filesystem content such as a malicious app image.
Affected software
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
bubblewrap (Red Hat package)
bubblewrap (Ubuntu package)
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Ubuntu
How to mitigate CVE-2026-87766
bubblewrap (Red Hat package) - addressed in versions 0.4.0-3.el8_6, 0.4.0-3.el8_8, 0.4.0-3.el8_10, 0.4.1-8.el9_6.1, 0.6.3-1.el9_8.1, 0.10.0-3.el10_0.4, 0.10.0-5.el10_2
bubblewrap (Ubuntu package) - addressed in versions 0.2.1-1ubuntu0.1+esm2, 0.2.1-1ubuntu0.1+esm3, 0.4.0-1ubuntu4.1+esm2, 0.4.0-1ubuntu4.1+esm3, 0.6.1-1ubuntu0.2, 0.9.0-1ubuntu0.2, 0.11.1-1ubuntu0.2
External References
Related Security Bulletins
- Link following in Bubblewrap
- Ubuntu update for bubblewrap
- Ubuntu update for bubblewrap
- Red Hat Enterprise Linux 8 update for bubblewrap
- Red Hat Enterprise Linux 10 update for bubblewrap
- Red Hat Enterprise Linux 9 update for bubblewrap
- Red Hat Enterprise Linux 10 update for bubblewrap
- Red Hat Enterprise Linux 8 update for bubblewrap
- Red Hat Enterprise Linux 8 update for bubblewrap
- Red Hat Enterprise Linux 9 update for bubblewrap