{"id":"CVE-2026-54785","published":"2026-07-31T22:31:04Z","modified":"2026-08-03T16:26:53Z","title":"gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode","vendor":"eLyiN","product":"gemini-bridge","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00191,"percentile":0.05048,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eLyiN/gemini-bridge/pull/9","tags":["x_refsource_MISC"]},{"url":"https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801","tags":["x_refsource_MISC"]},{"url":"https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"elyin","affectedVersions":[{"vendor":"eLyiN","product":"gemini-bridge","versions":[">= 1.0.0, < 1.3.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T16:24:57.651547Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gemini-bridge","vulnerableRanges":[">=1.0.0, <1.3.1"],"patched":["1.3.1"],"from":["GHSA-c5px-58j2-7fqp","PYSEC-2026-3574"],"provenance":"source"}],"summary":{"text":"The gemini-bridge MCP server by eLyiN contains a flaw in its consult_gemini_with_files tool, in inline mode: the files argument is not confined to the working directory, so any supplied file path is read and forwarded to the Gemini CLI, affecting versions 1.0.0 through 1.3.1. An attacker able to invoke this tool with a crafted file path and query, with no authentication or user interaction required and only local access to the system, can read arbitrary local files, with the contents echoed back through the Gemini round-trip and sent to Google.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:44Z"},"euvd":{"id":"EUVD-2026-51677","exploited":false,"provenance":"source"}}