# CVE-2023-48311: Any image allowed by default

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-12-08T14:42:55.000Z
- Modified: 2026-07-07T17:56:53.774Z
- Also known as: GHSA-hfgr-h3vc-p6c2, PYSEC-2026-1312
- Weaknesses: CWE-20
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jupyterhub dockerspawner: >= 0.11.0, < 13.0
- dockerspawner (PyPI): from 0.11.0 before 13.0.0
- jupyter dockerspawner: from 0.11.0 before 13.0

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2> (vendor-advisory, web)
- <https://github.com/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-48311> (advisory)
- <https://github.com/jupyterhub/dockerspawner> (package)
- <https://pypi.org/project/dockerspawner> (package)
- <https://github.com/advisories/GHSA-hfgr-h3vc-p6c2> (advisory)

## Sources

- CVE List: [CVE-2023-48311](https://www.cve.org/CVERecord?id=CVE-2023-48311), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-hfgr-h3vc-p6c2](https://github.com/advisories/GHSA-hfgr-h3vc-p6c2), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-48311](https://nvd.nist.gov/vuln/detail/CVE-2023-48311), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1312](https://osv.dev/vulnerability/PYSEC-2026-1312), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-48311 · Whole record: https://cve.day/CVE-2023-48311.json · Rebuilt by cve.day 2026-11-25T22:58:31.167Z
