🇰🇷 한글 설명
NotebookLM MCP의 POST /batch-to-vault 엔드포인트 및 batch_to_vault 도구에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. 공격자가 제어 가능한 vault_dir 및 slug_prefix 값을 사용하여 의도된 디렉터리 외부의 임의 위치에 Markdown 및 JSON 파일을 생성할 수 있습니다.
💡 쉬운 설명
프로그램이 파일을 저장할 때 정해진 폴더를 벗어나 컴퓨터의 다른 중요한 위치에 파일을 마음대로 쓸 수 있는 보안 약점입니다. 해커가 이 점을 이용해 시스템의 중요한 파일을 덮어쓰거나 변조할 위험이 있습니다.
🇺🇸 원문 (English)
NotebookLM MCP is an MCP server and HTTP service for interacting with Google NotebookLM and exporting generated content to local vault directories. Versions 1.6.0 through 2.0.2 contain a path traversal vulnerability in the `POST /batch-to-vault` endpoint, also exposed through the `batch_to_vault` MCP tool beginning in version 1.7.0, because attacker-controlled `vault_dir` and `slug_prefix` values can cause Markdown and JSON files to be written outside the intended vault directory to any location writable by the server process. Version 2.0.3 sanitizes `slug_prefix` and supports vault containment when `NOTEBOOKLM_VAULT_ROOT` is configured; containment is not enabled if that variable is unset. Users unable to upgrade should run the server as a dedicated unprivileged account restricted to the intended vault, keep the HTTP endpoint limited to localhost, and validate `vault_dir` values supplied by LLMs processing untrusted content.
📍 영향받는 시스템
NotebookLM MCP 버전 1.6.0 ~ 2.0.2
⚔️ 공격 벡터
조작된 vault_dir 또는 slug_prefix 값을 포함한 HTTP POST 요청 또는 MCP 도구 호출
🛡️ 대응 방법
버전 2.0.3 이상으로 업데이트하거나, 비특권 계정 사용, HTTP 엔드포인트 로컬호스트 제한, NOTEBOOKLM_VAULT_ROOT 설정 및 입력값 검증을 수행하십시오.
🔧 검증 코드
명령어 결과에 버전 1.6.0에서 2.0.2 사이의 버전이 나타나면 취약한 상태입니다.
npm list -g notebooklm-mcp --depth=0 2>/dev/null | grep -E 'notebooklm-mcp@([1-6]\.|2\.[0-2]\.)'
💻 영향받는 소프트웨어
Minecraft Bedrock Dedicated Server