🔍 CVE-2026-33646

9.6
CVSS Score
CRITICAL
2026-06-26
2026-06-29 14:16
✅ 완료

🇰🇷 한글 설명

mise 개발 도구 관리자에서 .tool-versions 파일을 파싱할 때 Tera 템플릿 엔진의 exec() 함수를 통해 임의의 명령어가 실행될 수 있는 취약점입니다. 공격자가 악성 .tool-versions 파일을 포함한 Git 저장소를 배포하면, 사용자가 해당 디렉토리로 이동하는 것만으로도 별도의 경고 없이 명령어가 실행됩니다.

💡 쉬운 설명

개발 도구를 관리하는 프로그램이 특정 설정 파일을 읽을 때, 그 안에 숨겨진 악성 명령어를 자동으로 실행해버리는 문제입니다. 사용자가 나쁜 의도가 담긴 프로젝트 폴더에 들어가기만 해도 해커의 명령이 내 컴퓨터에서 실행될 수 있습니다.

🇺🇸 원문 (English)

mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.3.10, mise processes .tool-versions files through the Tera template engine during parsing, with the exec() function registered, enabling arbitrary command execution. Unlike .mise.toml files, .tool-versions files are not subject to trust verification in non-paranoid mode. This means an attacker can place a malicious .tool-versions file in a git repository, and when a victim with mise activated cds into the directory, arbitrary commands execute without any trust prompt. This vulnerability is fixed in 2026.3.10.

📍 영향받는 시스템

mise versions prior to 2026.3.10

⚔️ 공격 벡터

악성 .tool-versions 파일이 포함된 저장소에 사용자가 접근(cd)할 때 자동 실행

🛡️ 대응 방법

mise를 최신 버전인 2026.3.10 이상으로 업데이트하십시오.

🔧 검증 코드

출력 결과가 VULNERABLE이면 취약한 버전이며, SAFE이면 안전한 버전입니다.

Shell / Script
mise --version | grep -E '2026\.[0-3]\.[0-9]+' | awk '$2 < "2026.3.10"' && echo 'VULNERABLE' || echo 'SAFE'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git