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.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 91.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIgemini-bridge1.3.1GHSA-c5px-58j2-7fqp
PyPIgemini-bridge1.3.1PYSEC-2026-3574

Affected products (as reported)

VendorProductVersions
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