CVE-2026-87766
Received Received - Intake

Bubblewrap Symlink Sandbox Escape Vulnerability

Vulnerability report for CVE-2026-87766, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-09

Last updated on: 2026-09-09

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-09
Last Modified
2026-09-09
Generated
2026-09-09
AI Q&A
2026-09-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
containers bubblewrap 0.12.0
containers bubblewrap to 0.12.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in bubblewrap allows attackers to escape sandboxed environments by exploiting symlinks during setup. When bubblewrap creates files or directories under the new root, it may follow a symlink pointing to the host filesystem via /oldroot, writing files outside the intended sandbox as the launching user. This occurs before the sandboxed process starts and affects versions prior to 0.12.0.

Detection Guidance

Detecting this vulnerability requires checking the installed version of bubblewrap. Run 'bwrap --version' to verify if the version is below 0.12.0. If the output shows a version older than 0.12.0, the system is vulnerable. Additionally, check for Flatpak applications using untrusted content, as they may be affected.

Impact Analysis

An attacker could create or modify files on your host system with your user privileges, potentially leading to data theft, malware execution, or system compromise. This is especially risky if you use Flatpak or similar frameworks with untrusted applications, as malicious app images could exploit this flaw to bypass sandboxing.

Compliance Impact

This vulnerability could lead to unauthorized file access or modification, violating data integrity and confidentiality requirements in GDPR and HIPAA. Organizations may face compliance violations if sensitive data is exposed or altered due to this flaw, especially in environments relying on sandboxed applications.

Mitigation Strategies

Immediately update bubblewrap to version 0.12.0 or later using your package manager, such as 'sudo apt upgrade bubblewrap' or 'sudo dnf upgrade bubblewrap'. Avoid using untrusted Flatpak applications or content until updated. Disable setuid builds of bubblewrap if still in use, as modern Linux distributions support unprivileged user namespaces.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-87766. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart