PT-2026-66872 · Unknown · Gemini-Bridge

CVE-2026-54785

·

Published

2026-07-31

·

Updated

2026-07-31

CVSS v3.1

6.2

Medium

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions gemini-bridge versions 1.0.0 through 1.3.0
Description The consult gemini with files() function in inline mode allows an arbitrary local file read. When the mode is set to "inline", the server reads any file path provided in the files argument without restricting it to the working directory and forwards the content to the Gemini CLI. Since the caller also controls the query variable, the file contents are echoed back through the Gemini round-trip. This allows an MCP client or a prompt-injected LLM to access any file the server process can reach, such as SSH keys, cloud credentials, and environment files. The issue occurs because the resolve path function failed to confine paths, allowing absolute paths, symlink escapes, and directory traversal via ...
Recommendations Update gemini-bridge to version 1.3.1. As a temporary workaround, avoid using mode="inline" with untrusted files input. Run the server using a user account with restricted permissions.

Fix

Information Disclosure

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54785
GHSA-C5PX-58J2-7FQP

Affected Products

Gemini-Bridge