Path Traversal in Elyin Gemini-Bridge
CVE-2026-54785
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.002 (4.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Elyin Gemini-bridge — versions >= 1.0.0, < 1.3.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-54785?
- CVE-2026-54785 is a medium-severity vulnerability in Elyin Gemini-Bridge, classified under Path Traversal. CVSS score: 6.2/10. Published 2026-07-31.
- How severe is CVE-2026-54785?
- Medium severity. CVSS v3 base score is 6.2 out of 10.