🔍 CVE-2026-44346

8.8
CVSS Score
HIGH
2026-05-27
2026-06-17 10:50
✅ 완료

🇰🇷 한글 설명

BentoML 1.4.39 이전 버전에서 bentofile.yaml의 envs 필드에 개행 문자를 주입하면 생성된 Dockerfile의 RUN 지시문이 인용 부호 없이 작성되어, 컨테이너 빌드 시 호스트에서 임의 명령어가 실행되는 취약점입니다.

💡 쉬운 설명

BentoML이라는 AI 도구의 설정 파일을 조작하면 컴퓨터를 해킹할 수 있습니다. 공격자가 특수한 문자를 넣은 설정 파일을 받으면 그것을 처리할 때 해킹 명령어가 실행됩니다.

🇺🇸 원문 (English)

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yaml containing a newline-injected value in envs[*].name produces unquoted RUN directives in the BentoML-generated Dockerfile. When the victim runs bentoml containerize on the imported bento, those RUN directives execute on the host during docker build. This vulnerability is fixed in 1.4.39.

📍 영향받는 시스템

BentoML < 1.4.39

⚔️ 공격 벡터

bentofile.yaml에 개행 주입으로 RUN directive 조작하여 docker build 중 호스트 명령어 실행

🛡️ 대응 방법

BentoML을 1.4.39 이상으로 업그레이드 (pip install --upgrade bentoml>=1.4.39)

🔧 검증 코드

출력된 버전이 1.4.39 이상이면 안전, 이하이거나 설치되지 않았으면 취약

Shell / Script
python -c "import bentoml; print(bentoml.__version__)" 2>/dev/null || echo 'Not installed'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker