Live threats

All CVEs / Jupyter

CVE-2021-39159Jupyter Binderhub

Critical 9.8 No auth needed

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
Weakness (CWE)
CWE-94, CWE-78
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Binderhub.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
jupyterbinderhub< 0.2.0-n653

Official sources

References

Links published by the sources. Open them with care.