REDHAT-BUG-2530542: High severity bubblewrap vulnerability

Published Sep 9, 2026
·
Updated

A flaw was found in bubblewrap. During sandbox setup the host filesystem is mounted at /oldroot and the sandboxed root is mounted at /newroot. When bubblewrap creates a file or directory under /newroot, it can follow a parent symlink that points at /oldroot, causing that object to be created on the host instead of inside the sandbox. This occurs during setup, before any sandboxed process is running. Created files use the uid and gid of the user that launched bubblewrap, which is typically unprivileged. The issue affects Flatpak when a malicious or compromised application image is used, and can affect other frameworks that create files on untrusted content with bubblewrap. This vulnerability is tracked by upstream as GHSA-pxhw-h44j-8pfx. It is fixed in bubblewrap 0.12.0 by resolving paths with openat2 and RESOLVEINROOT.

Affected Software

2 affected components
bubblewrap<0.12.0
Flatpak

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bubblewrap to a version that resolves this vulnerability.

    Fixed in 0.12.0Patch GHSA-pxhw-h44j-8pfx

Event History

Sep 9, 2026
Data Sourced
via Red Hat·08:08 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this flaw?

Flatpak is affected when it processes a malicious or compromised application image. Other frameworks may also be affected if they use bubblewrap to create files from untrusted content.

2

What must an attacker control to exploit it?

The attacker needs untrusted content that causes bubblewrap, during sandbox setup, to create a file or directory beneath a parent symlink pointing to /oldroot. The resulting object is created on the host filesystem rather than inside the sandbox.

3

Does exploitation require code to already be running inside the sandbox?

No. The issue occurs during bubblewrap sandbox setup, before any sandboxed process is running.

4

What host-level access does successful exploitation provide?

Files or directories can be created on the host filesystem, but they use the UID and GID of the user who launched bubblewrap, which is typically an unprivileged user.

5

What version contains the described fix?

The issue is fixed in bubblewrap 0.12.0, which resolves paths using openat2 with RESOLVE_IN_ROOT.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203