🔍 CVE-2026-27905

7.8
CVSS Score
HIGH
2026-03-03
2026-10-07 08:10
✅ 완료

🇰🇷 한글 설명

BentoML의 safe_extract_tarfile() 함수는 심볼릭 링크의 대상 경로를 검증하지 않는 결함이 있습니다. 공격자가 추출 디렉토리 외부를 가리키는 심볼릭 링크가 포함된 악성 tar 파일을 생성하면 호스트 파일 시스템에 임의의 파일을 작성할 수 있습니다.

💡 쉬운 설명

압축 파일을 풀 때 파일이 엉뚱한 곳에 저장되지 않도록 검사하는 기능이 심볼릭 링크(바로가기)에는 제대로 작동하지 않습니다. 이를 이용해 해커가 컴퓨터의 중요한 파일을 마음대로 수정하거나 생성할 수 있습니다.

🇺🇸 원문 (English)

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile() function validates that each tar member's path is within the destination directory, but for symlink members it only validates the symlink's own path, not the symlink's target. An attacker can create a malicious bento/model tar file containing a symlink pointing outside the extraction directory, followed by a regular file that writes through the symlink, achieving arbitrary file write on the host filesystem. This vulnerability is fixed in 1.4.36.

📍 영향받는 시스템

BentoML 1.4.36 미만 버전

⚔️ 공격 벡터

심볼릭 링크가 포함된 악성 bento/model tar 파일 업로드 및 압축 해제 유도

🛡️ 대응 방법

BentoML을 1.4.36 버전 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 1.4.36보다 낮으면 취약한 상태입니다.

Shell / Script
pip show bentoml | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python