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

- Severity: Critical 10.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-03T21:36:05.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-f49j-v924-fx9w, PYSEC-2026-364
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- jupyter-server enterprise_gateway: >= 2.0.0rc2, < 3.3.0
- jupyter-enterprise-gateway (PyPI): from 2.0.0rc2 before 3.3.0
- jupyter enterprise_gateway: from 2.1.0 before 3.3.0; 2.0.0

## Every score

- GitHub_M: CVSS:4.0 10.0 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/jupyter-server/enterprise_gateway/security/advisories/GHSA-f49j-v924-fx9w> (exploit, vendor-advisory, web)
- <https://github.com/jupyter-server/enterprise_gateway/releases/tag/v3.3.0> (product, release-notes)
- <https://github.com/jupyter-server/enterprise_gateway> (package)
- <https://pypi.org/project/jupyter-enterprise-gateway> (package)
- <https://github.com/advisories/GHSA-f49j-v924-fx9w> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44181> (advisory)

## Sources

- CVE List: [CVE-2026-44181](https://www.cve.org/CVERecord?id=CVE-2026-44181), CVE Terms of Use, modified 2026-07-17
- GitHub Advisory Database: [GHSA-f49j-v924-fx9w](https://github.com/advisories/GHSA-f49j-v924-fx9w), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2026-44181](https://nvd.nist.gov/vuln/detail/CVE-2026-44181), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-364](https://osv.dev/vulnerability/PYSEC-2026-364), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2026-44181 · Whole record: https://cve.day/CVE-2026-44181.json · Rebuilt by cve.day 2026-11-25T22:59:28.448Z
