kcve.ai취약점 정보 · 내 자산 확인

CVE-2025-68143 mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations

mcp-server-git의 무제한 git_init 도구는 임의의 파일시스템 위치에서 저장소 생성을 허용한다.

설명

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

모델 컨텍스트 프로토콜 서버는 모델 컨텍스트 프로토콜(MCP)에 대한 참조 구현의 모음입니다. 2025.9.25 이전 버전에서 git_init 도구는 임의의 파일시스템 경로를 허용하고 대상 위치를 검증하지 않고 Git 저장소를 생성했다. 기존 저장소를 필요로 하는 다른 도구와 달리 git_init은 서버 프로세스에 접근 가능한 모든 디렉토리에서 동작할 수 있어, 이 디렉토리들은 후속 git 작업을 수행할 수 있다. 이 도구는 서버가 기존 저장소에서만 작동하도록 되어 있으므로 완전히 제거되었습니다. 이 문제를 해결하려면 2025.9.25 이상으로 업그레이드하는 것이 좋습니다.

영향 받는 제품 제품 1개

  • modelcontextprotocol

    servers

    해결 버전 있음

    영향 받는 버전

    • 2025.9.25 미만

    해결 버전

    • 2025.9.25 이상

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의