🇰🇷 한글 설명
MaxKB 2.7.1 이하 버전에는 CVE-2025-53928에 대한 불완전한 패치가 남아 있어, 워크플로우 엔진의 MCP 노드에서 원격 코드 실행 취약점이 존재합니다. 데이터베이스에서 MCP 설정을 로드하는 경로만 제한되었고, 사용자 입력 JSON에서 mcp_servers를 직접 로드하는 분기는 패치되지 않았습니다. 이 취약점은 2.8.0 버전에서 수정되었습니다.
💡 쉬운 설명
AI 어시스턴트 프로그램인 MaxKB의 일부 기능에서 악의적인 명령을 실행할 수 있는 보안 허점이 발견되었습니다. 최신 버전으로 업데이트하면 이 문제를 해결할 수 있습니다.
🇺🇸 원문 (English)
MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain an incomplete fix for CVE-2025-53928, where a Remote Code Execution vulnerability still exists in the MCP node of the workflow engine. MaxKB only restricts the referencing code path (loading MCP config from the database). The else branch, responsible for loading mcp_servers directly from user-supplied JSON remains completely unpatched. Since mcp_source is an optional field (required=False), an attacker can simply omit it or set it to any non-referencing value to bypass the fix. By calling the workflow creation API directly with a crafted JSON payload, an attacker can inject a complete MCP node configuration with stdio transport, arbitrary command, and args — achieving RCE when the workflow is triggered via chat. This issue has been fixed in version 2.8.0.
📍 영향받는 시스템
MaxKB 2.7.1 이하 버전
⚔️ 공격 벡터
워크플로우 생성 API에 조작된 JSON을 직접 전송하여 mcp_source를 생략하고 stdio 전송의 임의 명령을 주입한 뒤, 채팅으로 워크플로우를 실행해 원격 코드 실행
🛡️ 대응 방법
MaxKB를 2.8.0 이상 버전으로 업그레이드
🔧 검증 코드
출력된 이미지 태그 또는 버전 값이 2.8.0 미만이면 취약하며, 2.8.0 이상이면 패치가 적용된 것입니다.
docker images 2>/dev/null | grep -i maxkb || cat /opt/maxkb/version 2>/dev/null