CVE-2026-54785
MEDIUM 6.2CVSS 3.1gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
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.
- Published
- 31 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200CWE-22
- Also known as
- GHSA-c5px-58j2-7fqpPYSEC-2026-3574
- Sources
- NVDJSONOSV GHSA-c5px-58j2-7fqpJSONOSV PYSEC-2026-3574JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | gemini-bridge | >= 1.0.0, < 1.3.1 | 1.3.1 |
References
- https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801 · WEB
- https://github.com/eLyiN/gemini-bridge/pull/9 · WEB
- https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1 · WEB
- https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp · WEB
- https://github.com/eLyiN/gemini-bridge · PACKAGE
- https://pypi.org/project/gemini-bridge · PACKAGE
- https://github.com/advisories/GHSA-c5px-58j2-7fqp · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-54785 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 31 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Jul 2026)