# CVE-2026-44181: Jupyter Enterprise Gateway: Jinja2 Template Server Side Template Injection results in Remote Code Execution

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-16 · Modified: 2026-07-17
- Aliases: GHSA-f49j-v924-fx9w, PYSEC-2026-364
- Record: https://cvemate.com/vulnerability/CVE-2026-44181 · JSON: https://cvemate.com/vulnerability/CVE-2026-44181/json

## 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.
```

## Signals

- CVSS: 10 critical (v4.0, CVE.org) 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
- EPSS: 0.806%, percentile 58.114%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- jupyter-server enterprise\_gateway: ≥ 2.0.0rc2, \< 3.3.0
- jupyter enterprise\_gateway: ≥ 2.1.0, \< 3.3.0 \| 2.0.0 \| 2.0.0:rc2
- PyPI jupyter-enterprise-gateway (PyPI): ≥ 2.0.0rc2, \< 3.3.0

## References

- <https://github.com/jupyter-server/enterprise_gateway/security/advisories/GHSA-f49j-v924-fx9w>
- <https://github.com/jupyter-server/enterprise_gateway/releases/tag/v3.3.0>
- <https://github.com/jupyter-server/enterprise_gateway>
- <https://pypi.org/project/jupyter-enterprise-gateway>
- <https://github.com/advisories/GHSA-f49j-v924-fx9w>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44181>

---

Data as of 2026-12-05T09:22:02.471Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
