{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2a76602a8c71f36c1527cf9fc3417d9149822e0c"
            }
          ],
          "repo": "https://github.com/containers/bubblewrap",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pxhw-h44j-8pfx"
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87766.json"
  },
  "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.",
  "id": "CVE-2026-87766",
  "modified": "2026-09-11T03:30:49.237958175Z",
  "published": "2026-09-09T08:34:35.359Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/09/09/3"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://bugs.debian.org/1145655"
    },
    {
      "type": "WEB",
      "url": "https://github.com/containers/bubblewrap/releases/tag/v0.12.0"
    },
    {
      "type": "WEB",
      "url": "https://www.openwall.com/lists/oss-security/2026/08/27/7"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-87766"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87766.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/containers/bubblewrap/security/advisories/GHSA-pxhw-h44j-8pfx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-87766"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2530542"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Bubblewrap: bubblewrap: symlink traversal via /oldroot allows writing files outside sandbox during setup"
}