Improper Neutralization of Special Elements Used in a Template Engine Affecting jupyter-enterprise-gateway package, versions [2.0.0rc2,3.3.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.7% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-JUPYTERENTERPRISEGATEWAY-17661135
  • published28 Jun 2026
  • disclosed3 Jun 2026
  • creditUnknown

Introduced: 3 Jun 2026

CVE-2026-44181  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade jupyter-enterprise-gateway to version 3.3.0 or higher.

Overview

jupyter-enterprise-gateway is an A web server for spawning and communicating with remote Jupyter kernels

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the rendering of Kubernetes manifest templates using untrusted environment variables in the KERNEL_XXX family. An attacker can execute arbitrary Python code and operating system commands by injecting malicious Jinja2 template expressions into these variables, potentially gaining control over the service account token and compromising the entire Kubernetes cluster by creating privileged pods or accessing sensitive resources.

References

CVSS Base Scores

version 4.0
version 3.1