p PatchFirst

CVE-2026-54785

CVE-2026-54785 · gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.2 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • gemini-bridge

    Versions
    • >= 1.0.0, < 1.3.1: Affected

    No fix published

  • gemini-bridge PyPI

    Versions
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.5
    • 1.1.0
    • 1.1.1
    • 1.2.0
    • 1.3.0
    Affected ranges
    • ECOSYSTEM: ≥ 1.0.0, < 1.3.1

    Update to 1.3.1

Original sources

Check your server →