{"id":"CVE-2026-54785","title":"gemini-bridge is a lightweight MCP server bridging AI agents to Google's Gemini AI via the official CLI","summary":"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…","severity":"medium","cvss":6.2,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-22","CWE-200"],"vendor":"gemini-bridge","product":"gemini-bridge","affected":["gemini-bridge >= 1.0.0, < 1.3.1"],"patched":["gemini-bridge 1.3.1"],"published":"2026-07-31","updated":"2026-09-10","sourceUpdated":"2026-09-10T20:31:16.483","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-54785","references":[{"url":"https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801","label":"security-advisories@github.com"},{"url":"https://github.com/eLyiN/gemini-bridge/pull/9","label":"security-advisories@github.com"},{"url":"https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1","label":"security-advisories@github.com"},{"url":"https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-c5px-58j2-7fqp"}],"tags":["nvd","ghsa","pip"],"epss":0.00151,"epssPercentile":0.04683,"aliases":["GHSA-c5px-58j2-7fqp"],"ecosystem":"pip","ingestedAt":"2026-07-31T23:04:59.885Z","slug":"CVE-2026-54785","body":"## Overview\n\ngemini-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-54785)\n\nAffected packages:\n\n- `gemini-bridge >= 1.0.0, < 1.3.1`\n\nPatched in:\n\n- `gemini-bridge 1.3.1`\n\nSource: https://github.com/advisories/GHSA-c5px-58j2-7fqp","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":34.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}