🔍 CVE-2026-54785

6.2
CVSS Score
MEDIUM
2026-07-31
2026-10-23 23:10
✅ 완료

🇰🇷 한글 설명

gemini-bridge 1.0.0부터 1.3.1 버전까지의 consult_gemini_with_files 함수에서 파일 경로 제한이 누락된 취약점이 발견되었습니다. 공격자가 임의의 파일 경로를 입력하면 해당 파일의 내용이 Gemini CLI를 통해 외부로 유출될 수 있는 임의 로컬 파일 읽기 취약점입니다.

💡 쉬운 설명

프로그램이 정해진 폴더 안의 파일만 읽어야 하는데, 공격자가 입력한 경로를 따라 컴퓨터 내의 어떤 파일이든 읽을 수 있는 문제입니다. 읽어온 파일 내용은 AI에게 전달되는 과정에서 공격자에게 노출될 수 있습니다.

🇺🇸 원문 (English)

gemini-bridge is a lightweight MCP server bridging AI agents to Google's Gemini AI via the official CLI. From 1.0.0 until 1.3.1, consult_gemini_with_files in inline mode read any file path supplied in the files argument without confining it to the working directory, then forwarded the contents to the Gemini CLI. Because the caller also controls query, the file contents are echoed back through the Gemini round-trip (and sent to Google), making this an arbitrary local file read. This issue is fixed in version 1.3.1.

📍 영향받는 시스템

gemini-bridge version 1.0.0 ~ 1.3.1

⚔️ 공격 벡터

사용자 입력값(files 인자)을 통해 시스템 내 임의의 파일 경로를 전달하여 파일 내용을 탈취

🛡️ 대응 방법

gemini-bridge를 최신 버전인 1.3.1 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.3.1 미만(예: 1.3.0 이하)이면 취약한 상태입니다.

Shell / Script
npm list -g gemini-bridge | grep gemini-bridge

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Gemini