CVE-2023-48311Jupyter Dockerspawner
Medium 4.3
Follow: this CVE · Jupyter · Jupyter Dockerspawner We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Dec 8, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
dockerspawner is a tool to spawn JupyterHub single user servers in Docker containers. Users of JupyterHub deployments running DockerSpawner starting with 0.11.0 without specifying `DockerSpawner.allowed_images` configuration allow users to launch _any_ pullable docker image, instead of restricting to only the single configured image, as intended. This issue has been addressed in commit `3ba4b665b` which has been included in dockerspawner release version 13. Users are advised to upgrade. Users unable to upgrade should explicitly set `DockerSpawner.allowed_images` to a non-empty list containing only the default image will result in the intended default behavior.
What to do
- Apply the vendor's security update for Dockerspawner.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dockerspawner |
≥ 0.11.0 < 13.0.0 |
13.0.0 |
pip install "dockerspawner>=13.0.0" |
| PyPI | dockerspawner |
≥ 0.11.0 < 13.0.0 |
13.0.0 |
pip install "dockerspawner>=13.0.0" |
Per OSV / GitHub Advisories (GHSA-hfgr-h3vc-p6c2, PYSEC-2026-1312). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyter | dockerspawner | ≥ 0.11.0 < 13.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory