patchminder
No public exploit found CVE-2020-5291

Privilege escalationin CVE-2020-5291.

Published 31 Mar 2020 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.9% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.4.1 or later
In plain words

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 support of unprivileged user namespaces. Known to be affected are: * Debian testing/unstable, if unprivileged user namespaces enabled (not default) * Debian buster-backports, if unprivileged user namespaces enabled (not default) * Arch if using `linux-hardened`, if unprivileged user namespaces enabled (not default) * Centos 7 flatpak COPR, if unprivileged user namespaces enabled (not default) This has been fixed in the 0.4.1 release, and all affected users should update.

What to do now
  • Upgrade bubblewrap to 0.4.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
bubblewrap
before 0.4.1
0.4.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 2 Jan 2020
    CVE ID reserved by GitHub_M.
  2. 31 Mar 2020
    Published in the CVE List.
  3. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness:

All CWE-648 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-5291: Privilege escalation in CVE-2020-5291. https://patchminder.com/cve/cve-2020-5291/ (accessed 5 December 2026).