Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-5291: Bubblewrap (bwrap) before version 0.4.1, if installed in setuid mode and the kernel supports unprivileged user

45
This month
HIGH 7.2WATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2020-5291 is a high-severity flaw (CVSS 7.2) affecting bubblewrap, debian linux, arch linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Bubblewrap (bwrap) before version 0.4.1, if installed in setuid mode and the kernel supports unprivileged user namespaces, then the `bwrap --userns2` option can be used to make the setuid process keep running as root while being traceable. This can in turn be used to gain root permissions. Note that this only affects the combination of bubblewrap in setuid mode (which is typically used when unprivileged user namespaces are not supported) and the

Why this priority

  • High severity
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.2 (High)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionRequired
EPSS exploit chance0.9% (top 40%)
CISA exploited listNo
WeaknessCWE-648, CWE-269
Published2020-03-31
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: archlinux · centos · debian · projectatomic

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

projectatomic bubblewrap UPGRADE
Affected: < 0.4.1
Fixed in: 0.4.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy bubblewrap || rpm -q bubblewrap || bubblewrap --version
2. UPGRADE to 0.4.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade bubblewrap
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade bubblewrap
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
debian debian linux MITIGATE
Affected: 10.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
archlinux arch linux MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
centos centos MITIGATE
Affected: 7.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-5291?

bubblewrap: upgrade to 0.4.1; debian linux: mitigate or apply the listed mitigation; arch linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2020-5291 being exploited?

CVE-2020-5291 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2020-5291 affect?

CVE-2020-5291 affects bubblewrap, debian linux, arch linux. Severity is high (CVSS 7.2). Bubblewrap (bwrap) before version 0.4.1, if installed in setuid mode and the kernel supports unprivileged user namespaces, then the `bwrap --userns2` option can be used to make the setuid process keep running as root while being traceable.

How urgent is CVE-2020-5291?

Priority 45/100. High severity; On your watchlist

Software pages

Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.