Description
JupyterHub is an open source multi-user server for Jupyter notebooks. By tricking a user into visiting a malicious subdomain, the attacker can achieve an XSS directly affecting the former's session. More precisely, in the context of JupyterHub, this XSS could achieve full access to JupyterHub API and user's single-user server. The affected configurations are single-origin JupyterHub deployments and JupyterHub deployments with user-controlled applications running on subdomains or peer subdomains of either the Hub or a single-user server. This vulnerability is fixed in 4.1.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jupyterhub | jupyterhub | < 4.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jupyterhub | 5.0.0+ds1-1 | — |
| Debian 13 | jupyterhub | 5.0.0+ds1-1 | — |
| Debian 12 | jupyterhub | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | jupyterhub | No fix yet | — |
| Ubuntu 26.04 LTS | jupyterhub | No fix yet | — |
| Ubuntu 25.10 | jupyterhub | No fix yet | — |
| Ubuntu 24.04 LTS | jupyterhub | No fix yet | — |
| Ubuntu 22.04 LTS | jupyterhub | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | jupyterhub | < 4.1.0 | 4.1.0 | GHSA-7r3h-4ph8-w38g |