🇰🇷 한글 설명
mise 도구의 기본 비안전 모드에서 신뢰되지 않은 로컬 프로젝트의 .mise.toml 설정이 승인 없이 로드되는 취약점입니다. 공격자가 셸 인자 설정을 조작하여 신뢰된 작업 실행 시 개발자의 권한으로 임의의 명령어를 먼저 실행할 수 있습니다.
💡 쉬운 설명
개발 도구 설정 파일에 악성 명령어를 숨겨두면, 사용자가 프로젝트를 열 때 자신도 모르게 해커의 명령어가 실행될 수 있습니다. 이는 신뢰할 수 없는 프로젝트를 다운로드하여 실행할 때 발생할 수 있는 위험한 보안 문제입니다.
🇺🇸 원문 (English)
mise manages dev tools like node, python, cmake, and terraform. Prior to 2026.7.14, in the default non-safe mode, mise loads .mise.toml [settings] from an untrusted local project before trust approval and strip_local_only_settings removes only fields marked global_only. The unix_default_file_shell_args, unix_default_inline_shell_args, windows_default_file_shell_args, and windows_default_inline_shell_args settings were not marked global_only, allowing a repository to replace the default interpreter arguments used by trusted tasks that have no explicit shell, postinstall directives, template exec operations, or hooks that fall back to the default shell. When mise appends the trusted command after the attacker-controlled interpreter arguments, the attacker-selected command can execute first with the developer account's privileges even though the local configuration was never trusted. The separate path-sanitization hardening note in the advisory is outside this vulnerability. This issue is fixed in version 2026.7.14.
📍 영향받는 시스템
mise version 2026.7.14 미만 버전
⚔️ 공격 벡터
신뢰되지 않은 로컬 프로젝트의 .mise.toml 파일 내 셸 인자 설정을 조작하여 공격 명령어 삽입
🛡️ 대응 방법
mise를 최신 버전인 2026.7.14 이상으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 2026.7.14 이상의 버전 번호가 포함되어 있는지 확인하십시오.
mise --version | grep -E '2026\.7\.14'