PYSEC-2026-1312

Vulnerability from pysec - Published: 2026-07-07 11:45 - Updated: 2026-07-07 17:24
VLAI
Details

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"]
Impacted products
Name purl
dockerspawner pkg:pypi/dockerspawner

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "dockerspawner",
        "purl": "pkg:pypi/dockerspawner"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.11.0"
            },
            {
              "fixed": "13.0.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.11.0",
        "0.11.1",
        "12.0.0",
        "12.1.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2023-48311",
    "GHSA-hfgr-h3vc-p6c2"
  ],
  "details": "### Impact\n\nUsers 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.\n\n### Patches\n\nUpgrade to DockerSpawner 13.\n\n### Workarounds\n\nExplicitly setting `DockerSpawner.allowed_images` to a non-empty list containing only the default image will result in the intended default behavior:\n\n```python\nc.DockerSpawner.image = \"your-image\"\nc.DockerSpawner.allowed_images = [\"your-image\"]\n```\n",
  "id": "PYSEC-2026-1312",
  "modified": "2026-07-07T17:24:02.988455Z",
  "published": "2026-07-07T11:45:28.248139Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-48311"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/jupyterhub/dockerspawner"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/dockerspawner"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-hfgr-h3vc-p6c2"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "DockerSpawner allows any image by default"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…