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

High 8.8 Published Updated

Attackers can write files outside the sandbox during setup via symlink traversal, potentially modifying host files or escalating privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-87766?

CVE-2026-87766 is a high-severity path traversal vulnerability in Red Hat Enterprise Linux 10, published on 9 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-59

Which versions are affected by CVE-2026-87766?

Linux distribution packages (40)
bubblewrap AlmaLinux:10All versions0.10.0-5.el10_2
bubblewrap AlmaLinux:8All versions0.4.0-3.el8_10
bubblewrap AlmaLinux:9All versions0.6.3-1.el9_8.1
bubblewrap Red Hat:enterprise_linux:10.2All versions0:0.10.0-5.el10_2
bubblewrap-debuginfo Red Hat:enterprise_linux:10.2All versions0:0.10.0-5.el10_2
bubblewrap-debugsource Red Hat:enterprise_linux:10.2All versions0:0.10.0-5.el10_2
bubblewrap Red Hat:enterprise_linux:8::baseosAll versions0:0.4.0-3.el8_10
bubblewrap-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.4.0-3.el8_10
bubblewrap-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:0.4.0-3.el8_10
bubblewrap Red Hat:enterprise_linux:9::baseosAll versions0:0.6.3-1.el9_8.1
bubblewrap-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:0.6.3-1.el9_8.1
bubblewrap-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:0.6.3-1.el9_8.1
bubblewrap Red Hat:enterprise_linux_eus:10.0All versions0:0.10.0-3.el10_0.4
bubblewrap-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:0.10.0-3.el10_0.4
bubblewrap-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:0.10.0-3.el10_0.4
bubblewrap Red Hat:rhel_aus:8.4::baseosAll versions0:0.4.0-3.el8_4
bubblewrap-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:0.4.0-3.el8_4
bubblewrap-debugsource Red Hat:rhel_aus:8.4::baseosAll versions0:0.4.0-3.el8_4
bubblewrap Red Hat:rhel_aus:8.6::baseosAll versions0:0.4.0-3.el8_6
bubblewrap-debuginfo Red Hat:rhel_aus:8.6::baseosAll versions0:0.4.0-3.el8_6
bubblewrap-debugsource Red Hat:rhel_aus:8.6::baseosAll versions0:0.4.0-3.el8_6
bubblewrap Red Hat:rhel_e4s:8.8::baseosAll versions0:0.4.0-3.el8_8
bubblewrap-debuginfo Red Hat:rhel_e4s:8.8::baseosAll versions0:0.4.0-3.el8_8
bubblewrap-debugsource Red Hat:rhel_e4s:8.8::baseosAll versions0:0.4.0-3.el8_8
bubblewrap Red Hat:rhel_e4s:9.2::baseosAll versions0:0.4.1-7.el9_2.1
bubblewrap-debuginfo Red Hat:rhel_e4s:9.2::baseosAll versions0:0.4.1-7.el9_2.1
bubblewrap-debugsource Red Hat:rhel_e4s:9.2::baseosAll versions0:0.4.1-7.el9_2.1
bubblewrap Red Hat:rhel_e4s:9.4::baseosAll versions0:0.4.1-7.el9_4.1
bubblewrap-debuginfo Red Hat:rhel_e4s:9.4::baseosAll versions0:0.4.1-7.el9_4.1
bubblewrap-debugsource Red Hat:rhel_e4s:9.4::baseosAll versions0:0.4.1-7.el9_4.1
bubblewrap Red Hat:rhel_eus:9.6::baseosAll versions0:0.4.1-8.el9_6.1
bubblewrap-debuginfo Red Hat:rhel_eus:9.6::baseosAll versions0:0.4.1-8.el9_6.1
bubblewrap-debugsource Red Hat:rhel_eus:9.6::baseosAll versions0:0.4.1-8.el9_6.1
bubblewrap Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:0.4.0-3.el8_4
bubblewrap-debuginfo Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:0.4.0-3.el8_4
bubblewrap-debugsource Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:0.4.0-3.el8_4
bubblewrap Red Hat:rhel_eus_long_life:8.6::baseosAll versions0:0.4.0-3.el8_6
bubblewrap-debuginfo Red Hat:rhel_eus_long_life:8.6::baseosAll versions0:0.4.0-3.el8_6
bubblewrap-debugsource Red Hat:rhel_eus_long_life:8.6::baseosAll versions0:0.4.0-3.el8_6
bubblewrap Red Hat:rhel_tus:8.8::baseosAll versions0:0.4.0-3.el8_8

How do I fix CVE-2026-87766?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-87766 being exploited?

There is no known exploitation of CVE-2026-87766 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:85306, ALSA-2026:85308, ALSA-2026:85309, AZL-100908, CLSA-2026-1791475845, DEBIAN-CVE-2026-87766 and 17 more.

Is CVE-2026-87766 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free