8.0high
Any image allowed by default
- Severity
- 8.0high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.64% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hfgr-h3vc-p6c2PYSEC-2026-1312
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jupyterhub dockerspawner | >= 0.11.0, < 13.0 | CVE List |
| dockerspawner (PyPI) | from 0.11.0 before 13.0.0 | GitHub Advisory Database, PyPA Advisory Database |
| jupyter dockerspawner | from 0.11.0 before 13.0 | NVD |
All scores
| GitHub_M | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Users of JupyterHub deployments running DockerSpawner starting with 0.11.0 without specifying DockerSpawner.allowed_images configuration allow users to launch any pullable image, instead of restricting to only the single configured image, as intended.
Patches
Upgrade to DockerSpawner 13.
Workarounds
Explicitly setting DockerSpawner.allowed_images to a non-empty list containing only the default image will result in the intended default behavior:
c.DockerSpawner.image = "your-image"
c.DockerSpawner.allowed_images = ["your-image"]
NVD (es)
dockerspawner es una herramienta para generar servidores de usuario único de JupyterHub en contenedores Docker. Los usuarios de implementaciones de JupyterHub que ejecutan DockerSpawner a partir de 0.11.0 sin especificar la configuración `DockerSpawner.allowed_images` permiten a los usuarios _any_ pullable imagen acoplable extraíble, en lugar de limitarse a una sola imagen configurada, como se pretende. Este problema se solucionó en el commit `3ba4b665b` que se incluyó en la versión 13 de dockerspawner. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben configurar explícitamente `DockerSpawner.allowed_images` en una lista no vacía que contenga solo la imagen predeterminada, lo que dará como resultado el comportamiento predeterminado previsto.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-48311 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hfgr-h3vc-p6c2 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2023-48311 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1312 changed 2026-07-07 | CC-BY-4.0 |