🔍 CVE-2026-16129

5.3
CVSS Score
MEDIUM
2026-07-18
2026-10-24 20:10
✅ 완료

🇰🇷 한글 설명

princezuda SafestClaw 4.2.4 이하 버전의 내장 웹 인터페이스에서 ShellAction._validate_command 함수(src/safestclaw/actions/shell.py)의 블랙리스트 처리가 불완전하여 명령어 검증을 우회할 수 있는 취약점이 발견되었습니다. 공격은 로컬 접근이 필요하며, 익스플로잇이 공개되어 있으나 실제 영향 여부는 아직 불확실합니다. 프로젝트 관리자는 오픈소스 특성상 허용 목록 수정이 가능하다는 점을 들어 실질적 위협에 대한 근거를 요구하고 있습니다.

💡 쉬운 설명

SafestClaw라는 프로그램이 위험한 명령어를 차단하는 목록이 불완전해서, 일부 명령이 걸러지지 않을 수 있습니다. 다만 공격자가 로컬 환경에 접근할 수 있어야 하므로 위험도는 중간 수준입니다.

🇺🇸 원문 (English)

A vulnerability has been found in princezuda SafestClaw up to 4.2.4. This vulnerability affects the function ShellAction._validate_command of the file src/safestclaw/actions/shell.py of the component Built-in Web Interface. Such manipulation leads to incomplete blacklist. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The presence of this vulnerability remains uncertain at this time. The project maintainer explains: "On paper you're correct, this is a vulnerability. In practice, nothing your AI generated shows how it makes users vulnerable. It's open source. Someone can mod the shell allow list or remove that system. Present an actual poc that shows a threat to users."

📍 영향받는 시스템

princezuda SafestClaw 4.2.4 이하 버전 (내장 웹 인터페이스 사용 환경)

⚔️ 공격 벡터

로컬 접근 권한을 가진 공격자가 블랙리스트 우회 명령어를 웹 인터페이스 셸 액션을 통해 입력하여 제한을 피해 실행

🛡️ 대응 방법

SafestClaw를 최신 패치 버전으로 업데이트하거나, 웹 인터페이스 셸 기능을 비활성화하고 명령어 검증을 허용 목록(allowlist) 방식으로 전환

🔧 검증 코드

출력된 Version 값이 4.2.4 이하이면 취약한 버전이므로 업데이트가 필요하며, 4.2.5 이상이면 패치된 버전입니다.

Shell / Script
pip show safestclaw 2>/dev/null | grep -i version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Magento Open Source