{"id":"CVE-2026-44181","published":"2026-07-16T22:03:13Z","modified":"2026-07-17T14:05:01Z","title":"Jupyter Enterprise Gateway: Jinja2 Template Server Side Template Injection results in Remote Code Execution","vendor":"jupyter-server","product":"enterprise_gateway","tier":"tail","description":{"text":"Jupyter Enterprise Gateway launches remote Jupyter Notebook kernels across distributed clusters like Apache Spark, Kubernetes, and Docker Swarm. In versions 2.0.0rc2 and above, prior to 3.3.0, the environment variables (KERNEL_XXX) used during the rendering of the Kubernetes manifest are vulnerable to Server Side Template Injection (SSTI). By including Jinja2 template expressions it is possible to execution Python code and OS Commands in the Enterprise Gateway service. The code can use or steal the Kubernetes service account token, which can steal Kubernetes secrets and be used to fully compromise the Kubernetes cluster by scheduling a privileged pod or a pod with a hostPath volume mount. This issue has been fixed in version 3.3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00767,"percentile":0.51822,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/jupyter-server/enterprise_gateway/security/advisories/GHSA-f49j-v924-fx9w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jupyter-server/enterprise_gateway/releases/tag/v3.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":10.36},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"jupyter-server","affectedVersions":[{"vendor":"jupyter-server","product":"enterprise_gateway","versions":[">= 2.0.0rc2, < 3.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-17T14:04:32.784412Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyter_enterprise_gateway","vulnerableRanges":[">=2.0.0rc2, <3.3.0"],"patched":["3.3.0"],"from":["GHSA-f49j-v924-fx9w","PYSEC-2026-364"],"provenance":"source"}],"summary":{"text":"Jupyter Enterprise Gateway versions 2.0.0rc2 through prior to 3.3.0 contain a Server Side Template Injection flaw in the handling of KERNEL_XXX environment variables during rendering of the Kubernetes manifest, where Jinja2 template expressions are not neutralised. An attacker who can supply those environment variable values can run Python code and OS commands within the Enterprise Gateway service, and from there steal the Kubernetes service account token and potentially compromise the cluster; the attack requires no privileges or user interaction and is reachable over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:39Z"},"euvd":{"id":"EUVD-2026-45064","exploited":false,"provenance":"source"}}