CVE-2026-41163: bubblewrap vulnerable to privilege escalation in setuid mode via ptrace
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.
Security readout for executives and security teams
Plain-English summary
Bubblewrap versions 0.11.0 and 0.11.1 can let an attacker misuse privileged sandbox setup operations when bubblewrap is installed in setuid mode. The issue is patched in 0.11.2. Treat affected Linux hosts as high priority where bubblewrap is setuid.
Executive priority
High priority for affected Linux environments using setuid bubblewrap, especially shared systems or developer workstations with untrusted local workloads. The fix is clearly identified upstream, but package status should be verified per distribution.
Technical view
In setuid mode, affected bubblewrap permits ptrace control over the unprivileged sandbox setup phase. That can expose privileged operations, especially overlay mounts that setuid bubblewrap otherwise restricts. The CVE is CWE-269 with CVSS 4.0 score 8.7.
Likely exposure
Exposure is limited to installations running bubblewrap >= 0.11.0 and < 0.11.2 where bubblewrap is installed in setuid mode. The provided sources do not identify specific downstream distribution package statuses beyond Red Hat tracking references.
Exploitation context
The source bundle does not show KEV listing or cited evidence of active exploitation. Exploitation depends on the affected version range and setuid mode. The impact is privilege escalation through misuse of privileged setup operations, not remote code execution as described.
Researcher notes
Focus triage on the setuid installation path. The key primitive is ptrace influence over the unprivileged setup phase, enabling privileged operations such as overlay mounts. Do not assume exposure when bubblewrap is not setuid or outside versions 0.11.0 to 0.11.1.
Mitigation direction
Upgrade bubblewrap to version 0.11.2 or later.
Check distribution vendor advisories for packaged fixes and backports.
Identify whether bubblewrap is installed in setuid mode.
If setuid mode is unnecessary, follow vendor guidance to disable it.
Prioritize hosts where untrusted local users can run bubblewrap.
Validation and detection
Inventory bubblewrap versions across Linux hosts and images.
Confirm whether installed bubblewrap binaries use setuid mode.
Verify fixed package version or upstream 0.11.2 deployment.
Review Red Hat CVE and Bugzilla entries for downstream status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-269: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-269 · source CWE mapping
Improper Privilege Management
Improper Privilege Management represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.