---
id: CVE-2026-87766
title: A flaw was found in bubblewrap
summary: >-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-59
vendor: Red Hat
product: bubblewrap
affected:
  - bubblewrap (all versions)
  - bubblewrap (all versions)
  - bubblewrap (all versions)
  - bubblewrap
published: '2026-09-09'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T23:17:07.763'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87766'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-87766'
    label: secalert@redhat.com
  - url: 'https://bugs.debian.org/1145655'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2530542'
    label: secalert@redhat.com
  - url: 'https://github.com/containers/bubblewrap/releases/tag/v0.12.0'
    label: secalert@redhat.com
  - url: >-
      https://github.com/containers/bubblewrap/security/advisories/GHSA-pxhw-h44j-8pfx
    label: secalert@redhat.com
  - url: 'https://www.openwall.com/lists/oss-security/2026/08/27/7'
    label: secalert@redhat.com
  - url: 'http://www.openwall.com/lists/oss-security/2026/09/09/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2026/09/22/23'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-09T14:03:32.467147Z'
epss: 0.0014
epssPercentile: 0.03692
ingestedAt: '2026-09-10T14:24:43.442Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
