Moderate severityNVD Advisory· Published Jul 31, 2026· Updated Aug 3, 2026
gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
CVE-2026-54785
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gemini-bridgePyPI | >= 1.0.0, < 1.3.1 | 1.3.1 |
Affected products
1- Range: <=1.3.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-c5px-58j2-7fqpghsaADVISORY
- github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801ghsax_refsource_MISCWEB
- github.com/eLyiN/gemini-bridge/pull/9ghsax_refsource_MISCWEB
- github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1ghsax_refsource_MISCWEB
- github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqpghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.