Skip to main content

bubblewrap EUVDEUVD-2026-28884

| CVE-2026-41163 HIGH
Improper Privilege Management (CWE-269)
2026-04-25
High
Disputed · 8.7 Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local shell access
  2. Delivery
    Launch setuid bubblewrap process
  3. Exploit
    Attach ptrace during privilege drop window
  4. Execution
    Inject code into namespace setup
  5. Persist
    Redirect sandbox filesystem mounts
  6. Impact
    Execute with host system access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires bubblewrap version 0.11.0 or 0.11.1 installed with setuid root bit enabled (chmod u+s), which is explicitly NOT the default configuration in mainstream Linux distributions. Attacker must have local shell access with ability to execute bubblewrap commands and spawn ptrace-capable processes under the same UID. Exploitation further depends on winning a race condition during the brief privilege-drop window in bubblewrap's startup sequence. Systems using user-namespace-based bubblewrap (standard on Fedora, Debian, Ubuntu, and most desktop distributions since 2015) are not vulnerable because they never invoke setuid privilege escalation. Kernel must allow ptrace of same-UID processes (Yama LSM ptrace_scope ≤ 1, which is typical default). Does NOT work against non-setuid bubblewrap installations or versions compiled with -Dsupport_setuid=false.

Impact

Real-world risk is moderate despite CVSS 8.7 rating. The CVSS v4.0 vector indicates network attack vector (AV:N), but this appears to be a scoring error - the vulnerability requires local access to execute bubblewrap and attach ptrace to the same-UID process. Exploitation prerequisites significantly limit scope: victim system must have bubblewrap installed with setuid bit enabled (chmod u+s), which is NOT the default configuration in mainstream distributions like Fedora, Debian, or Ubuntu that rely on user namespaces instead. The vendor's immediate deprecation of setuid mode and introduction of compile-time disable flag (-Dsupport_setuid=false, now default) demonstrates they view this attack surface as fundamentally insecure rather than patchable. EPSS data not available for 2026 CVE. No CISA KEV listing. Technical impact is high for affected configurations - successful exploitation grants full sandbox escape, allowing confined applications to access host filesystem, network, and processes. However, automatable exploitation is low (requires precise timing to win ptrace race during privilege transitions). Organizations using Flatpak or container tools should verify their bubblewrap is either non-setuid or upgraded to v0.11.2+, then migrate away from setuid mode per vendor guidance.

Exploit ScenarioDerived

Local attacker with shell access on a system running setuid bubblewrap 0.11.x launches a sandboxed application via Flatpak or direct bwrap invocation. During the millisecond window when bubblewrap drops root privileges to perform low-privileged namespace setup, attacker's second process (same UID) attaches via ptrace to the dumpable bubblewrap process. Injected code manipulates file descriptor table or mount namespace setup, redirecting sandbox root filesystem to attacker-controlled directory with malicious libraries. Sandboxed application now executes attacker code with access to host system resources, escaping intended confinement. François Diakhate reported this vulnerability, and vendor confirmed ptrace exploitation vector in release notes.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 09, 2026

Privilege escalation in bubblewrap 0.11.x when installed setuid root allows local attackers to escape sandbox isolation via ptrace attachment during low-privileged setup phases. The vendor confirmed active exploitation risk by releasing emergency v0.11.2 patch and immediately deprecating setuid mode entirely. CVSS 8.7 severity reflects high integrity impact from sandbox breakout, though exploitation requires local access to a setuid-configured bubblewrap binary (non-default in most distributions).

RemediationAI

Immediate action for systems running bubblewrap 0.11.0 or 0.11.1 with setuid bit: upgrade to bubblewrap v0.11.2 from https://github.com/containers/bubblewrap/releases/tag/v0.11.2, which sets the non-dumpable flag during privilege transitions to prevent ptrace attachment (security advisory at https://github.com/containers/bubblewrap/security/advisories/GHSA-xq78-7hw4-5jvp). Long-term mitigation per vendor recommendation: transition away from setuid mode entirely by recompiling bubblewrap with -Dsupport_setuid=false (now the default build option), which refuses execution if setuid bit is set and eliminates this entire attack surface. For environments unable to immediately patch, temporary workaround is to remove setuid bit via 'chmod u-s /usr/bin/bwrap' - note this breaks functionality for users without CAP_SYS_ADMIN or unprivileged user namespace support, potentially preventing Flatpak applications from launching on older kernels. Verify kernel supports unprivileged user namespaces (kernel.unprivileged_userns_clone=1 on Debian/Ubuntu derivatives) before removing setuid as alternative privilege model. No performance or compatibility penalty for user-namespace mode on kernel 3.8+ systems.

Affected VersionsENISA

bubblewrap 0.11.0, < 0.11.2

Affected Packages

euvd bubblewrap_0_11_0 fix: 0.11.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Bubblewrap is a sandboxing tool used by Flatpak and other container runtimes to create unprivileged Linux namespaces for application isolation. CWE-269 (Improper Privilege Management) manifests here through incorrect handling of the Linux dumpable flag during privilege transitions. When bubblewrap runs setuid root, it temporarily drops privileges to execute low-privileged setup code. Before v0.11.2, this code ran with the dumpable flag set, allowing the same-UID process to be attached via ptrace. An attacker could inject malicious code during these privilege transitions, manipulating namespace setup or file descriptor operations to escape the intended sandbox. The vulnerability arises from the interaction between Linux capability dropping, process dumpability semantics (prctl PR_SET_DUMPABLE), and ptrace permissions. Normal user-namespace-based bubblewrap deployments are unaffected since they never elevate privileges via setuid.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
Vendor (CNA) PRIMARY 8.7 HIGH
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
SUSE 3.1 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 8.8 HIGH

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
May 09, 2026 - 05:01 EUVD
CVSS changed
May 09, 2026 - 04:22 NVD
8.7 (HIGH)
CVE Published
Apr 25, 2026 - 12:45 nvd
N/A
CVE Published
Apr 25, 2026 - 12:45 nvd
HIGH 8.7

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

CVE-2026-41163 is a privilege escalation vulnerability in bubblewrap's setuid mode that allows local attackers to escape sandbox isolation, compromising the security boundary of containerized applications. Organizations running bubblewrap 0.11.x with setuid root configuration face immediate risk of unauthorized access and integrity violations; the vendor's emergency patch release and deprecation of setuid mode signals critical severity despite the non-default installation requirement.

Business Impact: High
Compensating Controls

Vendor-released patch: v0.11.2. Interim mitigation if patching is delayed: immediately remove setuid bit from bubblewrap binary (chmod u-s /usr/bin/bubblewrap) and restrict local access via filesystem permissions and user access controls; however, setuid removal may break existing bubblewrap functionality requiring immediate vendor documentation review.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Vendor StatusVendor

SUSE

Severity: Low
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy