| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-54785 |
| Date (index) | 2026-07-31 |
| Affected product (index) | gemini-bridge is a lightweight MCP server bridging AI agents to Google’s Gemini AI via the official CLI |
| GHSA ID | GHSA-C5PX-58J2-7FQP |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2026-07-31 |
| Ecosystem | Application (vendor product) |
| Component | gemini-bridge is a lightweight MCP server bridging AI agents to Google’s Gemini AI via the official CLI |
| EPSS score | 0.001910000 (FIRST EPSS, 2026-09-26) |
| CVSS score | MEDIUM — 6.2 CVSS v3.1 |
| CWE | CWE-22, CWE-200 |
| Affected versions | 1.0.0, v1.3.0, v1.2.0, v1.1.1, v1.1.0, v1.0.5, v1.0.3, v1.0.2 |
| Fixed versions | 1.3.1 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added as a separate CVE note during the 2026-08-25 missing-CVE follow-up. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.
Primary mapped weakness: MCP02 — Privilege Escalation via Scope Creep. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, prompt/tool trust, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-54785 and apply the upstream patched release or commit recommended by the vendor/CNA.