CVE-2026-44182 Jupyter Enterprise Gateway Has Kubernetes Manifest Injection via Jinja2 Template Rendering

Critical 10.0 Published Updated

Attackers can inject YAML into Kubernetes manifests via untrusted environment variables to create privileged pods, requiring an upgrade to Jupyter Enterprise Gateway.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-44182?

CVE-2026-44182 is a critical code injection vulnerability in jupyter-server enterprise_gateway, published on 16 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-74

Which versions are affected by CVE-2026-44182?

3 open source packages ship an affected version, including jupyter_enterprise_gateway and jupyter-enterprise-gateway. It affects 1 product.

PackageAffectedFixed in
jupyter_enterprise_gateway PyPIAll versions3.3.0
jupyter-enterprise-gateway PyPIAll versions3.3.0
jupyter-enterprise-gateway PyPIAll versions3.3.0

Products include Jupyter Enterprise Gateway.

How do I fix CVE-2026-44182?

Upgrade jupyter_enterprise_gateway to 3.3.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-44182 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44182 exists.

Sources

Also known as GHSA-cfw7-6c5v-2wjq, PYSEC-2026-362.

Is CVE-2026-44182 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free