Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-54785 EUVD-2026-51677GHSA-c5px-58j2-7fqpPYSEC-2026-3574

gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode

Published Jul 31, 2026 · Updated Aug 3, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
eLyiN gemini-bridge >= 1.0.0, < 1.3.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gemini-bridge >= 1.0.0, < 1.3.1 1.3.1 GHSA-c5px-58j2-7fqp

References