Vulnerability · Published Jul 31, 2026 · Assigned by GitHub_M
CVE-2026-54785gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
Medium 6.2
In plain English
A medium-severity path traversal in gemini-bridge from eLyiN. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | gemini-bridge | 1.3.1 | GHSA-c5px-58j2-7fqp |
| PyPI | gemini-bridge | 1.3.1 | PYSEC-2026-3574 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| eLyiN | gemini-bridge | >= 1.0.0, < 1.3.1 |
Weakness: CWE-22, CWE-200 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp x_refsource_CONFIRM
- https://github.com/eLyiN/gemini-bridge/pull/9 x_refsource_MISC
- https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801 x_refsource_MISC
- https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1 x_refsource_MISC