github_osv/GHSA-hfgr-h3vc-p6c2
DockerSpawner allows any image by default
### 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:
```python
c.DockerSpawner.image = "your-image"
c.DockerSpawner.allowed_images = ["your-image"]
```
gitlab/pypi/dockerspawner/CVE-2023-48311
Improper Input Validation
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.
pypa/dockerspawner/PYSEC-2026-1312
DockerSpawner allows any image by default
### 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:
```python
c.DockerSpawner.image = "your-image"
c.DockerSpawner.allowed_images = ["your-image"]
```
pysec/PYSEC-2026-1312
DockerSpawner allows any image by default
### 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:
```python
c.DockerSpawner.image = "your-image"
c.DockerSpawner.allowed_images = ["your-image"]
```