Description
bubblewrap is a low-level unprivileged sandboxing tool. From version 0.11.0 to before version 0.11.2, if bubblewrap is installed in setuid mode then the user can use ptrace to attach to bubblewrap and control the unprivileged part of the sandbox setup phase. This allows the attacker to arbitrarily use the privileged operations, and in particular the "overlay mount" operation, allowing the creation of overlay mounts which is otherwise not allowed in the setuid version of bubblewrap. This issue has been patched in version 0.11.2.
Published: 2026-05-09
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

bubblewrap is a low‑level sandboxing tool used to isolate user processes. From version 0.11.0 up to, but not including, 0.11.2, installing the binary with the setuid bit set lets a local user attach to it with ptrace and intervene in the sandbox setup. This manipulation allows the user to invoke privileged operations such as overlay mounts, which are normally prohibited in the setuid build. The result is a privilege‑escalation vulnerability (CWE-266, CWE-269) that can give a regular user root‑level capabilities within the sandbox.

Affected Systems

All distributions that ship the bubblewrap 0.11.0 or 0.11.1 releases and configure the binary with setuid permissions are vulnerable. The issue applies to any environment where bubblewrap is used as a setuid helper.

Risk and Exploitability

The CVSS score is 8.7, indicating a high severity flaw. EPSS score indicates a very low but nonzero probability (<1%). The vulnerability is not listed in CISA’s KEV catalogue. Exploitation requires a local user to have permission to run the setuid bubblewrap binary; once ran, the attacker can use ptrace to gain elevated privileges. The patch in 0.11.2 removes the setuid check that permits ptrace interaction, eliminating the attack vector.

Generated by OpenCVE AI on June 2, 2026 at 13:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade bubblewrap to version 0.11.2 or newer to eliminate the flaw.
  • If an upgrade is not immediately possible, clear the setuid bit on the bubblewrap binary with ‘chmod u-s /usr/bin/bwrap’ (or the appropriate path).
  • Audit the system for any remaining setuid instances of bubblewrap and monitor for unexpected ptrace activity targeting the binary.

Generated by OpenCVE AI on June 2, 2026 at 13:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 02 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-266
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Important


Wed, 13 May 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 10 May 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Containers
Containers bubblewrap
Vendors & Products Containers
Containers bubblewrap

Sat, 09 May 2026 04:15:00 +0000

Type Values Removed Values Added
Description bubblewrap is a low-level unprivileged sandboxing tool. From version 0.11.0 to before version 0.11.2, if bubblewrap is installed in setuid mode then the user can use ptrace to attach to bubblewrap and control the unprivileged part of the sandbox setup phase. This allows the attacker to arbitrarily use the privileged operations, and in particular the "overlay mount" operation, allowing the creation of overlay mounts which is otherwise not allowed in the setuid version of bubblewrap. This issue has been patched in version 0.11.2.
Title bubblewrap vulnerable to privilege escalation in setuid mode via ptrace
Weaknesses CWE-269
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Containers Bubblewrap
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-30T12:08:50.316Z

Reserved: 2026-04-17T16:34:45.525Z

Link: CVE-2026-41163

cve-icon Vulnrichment

Updated: 2026-05-13T17:45:46.507Z

cve-icon NVD

Status : Deferred

Published: 2026-05-09T04:16:21.167

Modified: 2026-06-17T10:46:15.553

Link: CVE-2026-41163

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-09T03:56:51Z

Links: CVE-2026-41163 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-02T14:00:10Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-269

    Improper Privilege Management