CVE-2026-44182 Jupyter Enterprise Gateway Has Kubernetes Manifest Injection via Jinja2 Template Rendering
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- DockerKubernetes
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| jupyter enterprise gateway | < 3.3.0 | 3.3.0 | Fixed |
| pypi jupyter-enterprise-gateway(PyPI) | < 3.3.0; = 0.5.0.dev0; = 0.5.0.dev1; = 0.5.0.dev2 +38 more | 3.3.0 | Fixed |
| jupyter-server enterprise_gateway | = < 3.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi jupyter-enterprise-gateway(PyPI) | < 3.3.0 | 3.3.0 |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.5.0.dev0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.5.0.dev1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.5.0.dev2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.6.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.7.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.8.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.9.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.9.1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.9.2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.9.3 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 0.9.4 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 1.0.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 1.0.1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 1.0.2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 1.1.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 1.1.1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 1.2.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.0.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.0.0b1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.0.0rc2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.1.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.1.1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.2.0 | No fix listed |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi jupyter-enterprise-gateway(PyPI) | = 2.2.0rc1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.2.0rc2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.3.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.4.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.5.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.5.1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.5.2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 2.6.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.0.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.0.0b0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.0.0rc0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.0.0rc1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.1.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.2.0 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.2.1 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.2.2 | No fix listed |
| pypi jupyter-enterprise-gateway(PyPI) | = 3.2.3 | No fix listed |
| jupyter-server enterprise_gateway | = < 3.3.0 | No fix listed |
| jupyter enterprise gateway | < 3.3.0 | 3.3.0 |
References
- https://github.com/jupyter-server/enterprise_gateway/security/advisories/GHSA-cfw7-6c5v-2wjq exploit vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- https://github.com/jupyter-server/enterprise_gateway/releases/tag/v3.3.0 product release-notes