🔍 CVE-2026-44181

10.0
CVSS Score
CRITICAL
2026-07-16
2026-08-05 15:55
✅ 완료

🇰🇷 한글 설명

Jupyter Enterprise Gateway의 Kubernetes 매니페스트 렌더링 과정에서 환경 변수를 이용한 서버 측 템플릿 주입(SSTI) 취약점이 발견되었습니다. 공격자는 Jinja2 템플릿 표현식을 통해 Python 코드 및 OS 명령어를 실행할 수 있으며, 이를 통해 Kubernetes 서비스 계정 토큰을 탈취하여 클러스터 전체를 장악할 수 있습니다.

💡 쉬운 설명

프로그램이 설정값을 처리하는 과정에서 악성 코드가 포함된 명령어를 실행할 수 있는 보안 약점이 있습니다. 해커가 이 약점을 이용하면 관리자 권한을 얻어 전체 서버 시스템을 마음대로 조종할 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Jupyter Enterprise Gateway 2.0.0rc2 이상 ~ 3.3.0 미만 버전

⚔️ 공격 벡터

환경 변수(KERNEL_XXX)에 Jinja2 템플릿 구문을 삽입하여 원격 코드 실행(RCE) 수행

🛡️ 대응 방법

Jupyter Enterprise Gateway를 보안 패치가 적용된 3.3.0 버전 이상으로 업데이트

🔧 검증 코드

출력된 버전이 3.3.0 미만(2.0.0rc2 이상 포함)인 경우 취약한 상태입니다.

Shell / Script
pip show jupyter-enterprise-gateway | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Kubernetes