{"cve":"CVE-2021-39159","nvd":{"published":"2021-08-25T19:15:14.177","modified":"2026-06-17T04:03:13.090","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78","CWE-94"],"references":["https://github.com/jupyterhub/binderhub/commit/195caac172690456dcdc8cc7a6ca50e05abf8182.patch","https://github.com/jupyterhub/binderhub/security/advisories/GHSA-9jjr-qqfp-ppwx","https://github.com/jupyterhub/binderhub/commit/195caac172690456dcdc8cc7a6ca50e05abf8182.patch","https://github.com/jupyterhub/binderhub/security/advisories/GHSA-9jjr-qqfp-ppwx"],"products":["jupyter:binderhub"],"source":"nvd","synced_at":"2026-10-19T21:21:57.125947417+00:00"},"epss":{"cve":"CVE-2021-39159","score":0.01928,"percentile":0.79977,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9jjr-qqfp-ppwx","url":"https://osv.dev/vulnerability/GHSA-9jjr-qqfp-ppwx","summary":"remote code execution via git repo provider","modified":"2026-07-08T06:28:25.928249952Z","packages":[{"ecosystem":"PyPI","name":"binderhub","purl":"pkg:pypi/binderhub","ranges":["<0.2.0"],"fixed":["0.2.0"]}]},{"id":"PYSEC-2021-371","url":"https://osv.dev/vulnerability/PYSEC-2021-371","summary":"","modified":"2026-02-22T22:56:11.676684Z","packages":[{"ecosystem":"PyPI","name":"binderhub","purl":"pkg:pypi/binderhub","ranges":["<0.2.0-n653"],"fixed":["0.2.0-n653"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}