CVE-2026-54785: gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
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 →