{
  "id": "CVE-2026-87766",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-87766",
  "published_at": "2026-09-09T08:34:35.359Z",
  "title": "Bubblewrap: bubblewrap: symlink traversal via /oldroot allows writing files outside sandbox during setup",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 10",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-59",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:0.10.0-5.el10_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:0.10.0-3.el10_0.4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:0.4.0-3.el8_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:0.6.3-1.el9_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:0.6.3-1.el9_9.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:0.4.1-7.el9_2.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:0.4.1-7.el9_4.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:0.4.1-8.el9_6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:0.10.0-5.el10_2 or later.",
      "Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:0.10.0-3.el10_0.4 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:0.4.0-3.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:0.4.0-3.el8_4 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:0.4.0-3.el8_4 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:0.4.0-3.el8_6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:0.4.0-3.el8_6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:0.4.0-3.el8_8 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:0.4.0-3.el8_8 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:0.6.3-1.el9_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:0.6.3-1.el9_9.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:0.4.1-7.el9_2.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:0.4.1-7.el9_4.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:0.4.1-8.el9_6.1 or later."
    ],
    "workarounds": [
      "Do not create files on untrusted content with unpatched bwrap. Do not install untrusted Flatpaks. No upstream fix for older setuid builds."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85306"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85308"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85309"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85312"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85313"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85317"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85319"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:85322"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
