CVE-2021-39159Jupyter Binderhub
Critical 9.8 No auth needed
Follow: this CVE · Jupyter · Jupyter Binderhub We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Aug 25, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
BinderHub is a kubernetes-based cloud service that allows users to share reproducible interactive computing environments from code repositories. In affected versions a remote code execution vulnerability has been identified in BinderHub, where providing BinderHub with maliciously crafted input could execute code in the BinderHub context, with the potential to egress credentials of the BinderHub deployment, including JupyterHub API tokens, kubernetes service accounts, and docker registry credentials. This may provide the ability to manipulate images and other user created pods in the deployment, with the potential to escalate to the host depending on the underlying kubernetes configuration. Users are advised to update to version 0.2.0-n653. If users are unable to update they may disable the git repo provider by specifying the `BinderHub.repo_providers` as a workaround.
What to do
- Apply the vendor's security update for Binderhub.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | binderhub |
< 0.2.0 |
0.2.0 |
pip install "binderhub>=0.2.0" |
| PyPI | binderhub |
< 0.2.0-n653 |
0.2.0-n653 |
pip install "binderhub>=0.2.0-n653" |
Per OSV / GitHub Advisories (GHSA-9jjr-qqfp-ppwx, PYSEC-2021-371). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyter | binderhub | < 0.2.0-n653 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mailing List Patch Third Party Advisory
- github.com Patch Third Party Advisory