{"answers":{"affected":"3 open source packages ship an affected version, including jupyter_enterprise_gateway and jupyter-enterprise-gateway. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44182 exists.","fix":"Upgrade jupyter_enterprise_gateway to 3.3.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-44182 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44182 exists.\n\nAffected packages and fixed versions:\n- jupyter_enterprise_gateway (PyPI): affected all versions; fixed in 3.3.0\n- jupyter-enterprise-gateway (PyPI): affected all versions; fixed in 3.3.0\n- jupyter-enterprise-gateway (PyPI): affected all versions; fixed in 3.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-44182/ (Markdown: https://insights.sbomify.com/CVE-2026-44182/index.md)","id":"CVE-2026-44182","markdown":"https://insights.sbomify.com/CVE-2026-44182/index.md","name":"CVE-2026-44182","record":{"aliases":["GHSA-cfw7-6c5v-2wjq","PYSEC-2026-362"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Jupyter Enterprise Gateway","requires_auth":"none","summary":"Attackers can inject YAML into Kubernetes manifests via untrusted environment variables to create privileged pods, requiring an upgrade to Jupyter Enterprise Gateway.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"enterprise_gateway","vendor":"jupyter"}],"cvss":{"score":10,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Jupyter Enterprise Gateway Has Kubernetes Manifest Injection via Jinja2 Template Rendering","id":"CVE-2026-44182","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Auth bypass in Cleanuparr","id":"CVE-2026-44183"},"packages":[{"ecosystem":"PyPI","fixed":["3.3.0"],"introduced":["0"],"last_affected":[],"package":"jupyter-enterprise-gateway","purl":"pkg:pypi/jupyter-enterprise-gateway","source":"GHSA-cfw7-6c5v-2wjq"},{"ecosystem":"PyPI","fixed":["3.3.0"],"introduced":["0"],"last_affected":[],"package":"jupyter-enterprise-gateway","purl":"pkg:pypi/jupyter-enterprise-gateway","source":"PYSEC-2026-362"},{"ecosystem":"PyPI","fixed":["3.3.0"],"introduced":["0"],"last_affected":[],"package":"jupyter_enterprise_gateway","purl":null,"source":"GHSA-cfw7-6c5v-2wjq"}],"prev":{"headline":"Jupyter Enterprise Gateway: Jinja2 Template Server Side Template Injection results in Remote Code Execution","id":"CVE-2026-44181"},"products":["enterprise_gateway"],"published":"2026-07-16","related":[{"cvss_score":10,"headline":"Jupyter Enterprise Gateway: Jinja2 Template Server Side Template Injection results in Remote Code Execution","id":"CVE-2026-44181","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":9.8,"headline":"Jupyter Enterprise Gateway: ContainerProcessProxy._enforce_prohibited_ids can be Bypassed","id":"CVE-2026-44180","kev_date_added":null,"published":"2026-07-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-17","vendors":["jupyter-server"]},"summary":"Attackers can inject YAML into Kubernetes manifests via untrusted environment variables to create privileged pods, requiring an upgrade to Jupyter Enterprise Gateway.","url":"https://insights.sbomify.com/CVE-2026-44182/"}