{"id":"UBUNTU-CVE-2026-87766","details":"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.","modified":"2026-09-18T01:00:10.531832228Z","published":"2026-09-09T09:17:00Z","upstream":["CVE-2026-87766"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-87766"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-87766"},{"type":"REPORT","url":"https://github.com/containers/bubblewrap/security/advisories/GHSA-pxhw-h44j-8pfx"}],"affected":[{"package":{"name":"bubblewrap","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/bubblewrap?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.0-1","0.2.0-2","0.2.0-4","0.2.1-1","0.2.1-1ubuntu0.1","0.2.1-1ubuntu0.1+esm2","0.2.1-1ubuntu0.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"bubblewrap","binary_version":"0.2.1-1ubuntu0.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87766.json"}},{"package":{"name":"bubblewrap","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/bubblewrap?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.3-2","0.4.0-1","0.4.0-1ubuntu1","0.4.0-1ubuntu2","0.4.0-1ubuntu3","0.4.0-1ubuntu4","0.4.0-1ubuntu4.1","0.4.0-1ubuntu4.1+esm2","0.4.0-1ubuntu4.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"bubblewrap","binary_version":"0.4.0-1ubuntu4.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87766.json"}},{"package":{"name":"bubblewrap","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/bubblewrap?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-3build1","0.5.0-1","0.6.0-1","0.6.1-1","0.6.1-1ubuntu0.1","0.6.1-1ubuntu0.2","0.6.1-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"bubblewrap","binary_version":"0.6.1-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87766.json"}},{"package":{"name":"bubblewrap","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/bubblewrap?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-2","0.9.0-1build1","0.9.0-1ubuntu0.1","0.9.0-1ubuntu0.2","0.9.0-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"bubblewrap","binary_version":"0.9.0-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87766.json"}},{"package":{"name":"bubblewrap","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/bubblewrap?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-2","0.11.0-2build1","0.11.1-1","0.11.1-1ubuntu0.1","0.11.1-1ubuntu0.2","0.11.1-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"bubblewrap","binary_version":"0.11.1-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87766.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}