CVE-2026-54785 PUBLISHED

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

Assigner: GitHub_M
Reserved: 15.06.2026 Published: 31.07.2026 Updated: 31.07.2026

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.

Metrics

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

Product Status

Vendor eLyiN
Product gemini-bridge
Versions
  • Version >= 1.0.0, < 1.3.1 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE