Skip to main content
← All vulnerabilities
CVE-2026-44182GHSA-CFW7-6C5V-2WJQPYSEC-2026-362

Jupyter Enterprise Gateway Has Kubernetes Manifest Injection via Jinja2 Template Rendering

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

Jupyter Enterprise Gateway launches remote Jupyter Notebook kernels across distributed clusters like Apache Spark, Kubernetes, and Docker Swarm. In versions prior to 3.3.0, the server interpolates untrusted environment variables (e.g., KERNEL_XXX) into Kubernetes manifests without YAML-aware escaping, enabling YAML injection attacks. Attackers can inject new fields, overwrite critical fields (e.g., duplicate securityContext keys, where the last one prevails), and inject document boundaries (--- for new documents, ... for end-of-document) to generate multiple resources, potentially creating arbitrary types, such as privileged pods. The Jinja2 template for the Kubernetes manifest contains several kernel_xxx variables, such as kernel_working_dir that are used when rendering the manifest and are all vectors for YAML injection. This issue has been fixed in version 3.3.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • jupyter-server enterprise_gateway

    fixed in 3.3.0

  • jupyter-enterprise-gatewayPyPI

    fixed in 3.3.0

References 2

GitHub · jupyter-server/enterprise_gateway