CVE-2023-48311
Python vulnerability analysis and mitigation

Overview

CVE-2023-48311 affects JupyterHub deployments running DockerSpawner versions from 0.11.0 to version 13. The vulnerability allows authenticated users to launch any pullable Docker image instead of being restricted to only the configured image when the DockerSpawner.allowed_images configuration is not specified (GitHub Advisory, NVD).

Technical details

The vulnerability stems from a configuration issue where DockerSpawner does not properly restrict the images that can be launched by users. When the DockerSpawner.allowed_images configuration is not set, the system allows users to launch any pullable Docker image instead of enforcing the intended restriction to a single configured image. The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (MEDIUM) by NIST and 8.0 (HIGH) by GitHub (NVD).

Impact

The vulnerability could allow authenticated users to execute arbitrary Docker containers, potentially leading to unauthorized access to resources, data exposure, or system compromise. The ability to run any pullable Docker image significantly expands the attack surface of affected JupyterHub deployments (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in dockerspawner release version 13. Users are advised to upgrade to this version. For those unable to upgrade, a workaround is available by explicitly setting DockerSpawner.allowed_images to a non-empty list containing only the default image. For example: c.DockerSpawner.image = "your-image" and c.DockerSpawner.allowed_images = ["your-image"] (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23949HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 20, 2026
CVE-2026-22219HIGH8.3
  • PythonPython
  • chainlit
NoYesJan 20, 2026
CVE-2026-23842HIGH7.5
  • PythonPython
  • chatterbot
NoYesJan 19, 2026
CVE-2026-23877MEDIUM5.3
  • PythonPython
  • swingmusic
NoYesJan 19, 2026
CVE-2026-23833LOW1.7
  • PythonPython
  • esphome
NoYesJan 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management