Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gemini-bridge
  4. ›
  5. CVE-2026-54785

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

July 31, 2026

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.

References

  • github.com/advisories/GHSA-c5px-58j2-7fqp
  • github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801
  • github.com/eLyiN/gemini-bridge/pull/9
  • github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1
  • github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp
  • nvd.nist.gov/vuln/detail/CVE-2026-54785

Code Behaviors & Features

Detect and mitigate CVE-2026-54785 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.3.1

Fixed versions

  • 1.3.1

Solution

Upgrade to version 1.3.1 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/gemini-bridge/CVE-2026-54785.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:33 +0000.