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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-31T22:31:04.190Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: GHSA-c5px-58j2-7fqp, PYSEC-2026-3574
- Weaknesses: CWE-22, CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- eLyiN gemini-bridge: >= 1.0.0, < 1.3.1
- gemini-bridge (PyPI): from 1.0.0 before 1.3.1

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp> (web)
- <https://github.com/eLyiN/gemini-bridge/pull/9> (web)
- <https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801> (web)
- <https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1> (web)
- <https://github.com/eLyiN/gemini-bridge> (package)
- <https://pypi.org/project/gemini-bridge> (package)
- <https://github.com/advisories/GHSA-c5px-58j2-7fqp> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54785> (advisory)

## Sources

- CVE List: [CVE-2026-54785](https://www.cve.org/CVERecord?id=CVE-2026-54785), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-c5px-58j2-7fqp](https://github.com/advisories/GHSA-c5px-58j2-7fqp), CC-BY-4.0, modified 2026-08-04
- NVD: [CVE-2026-54785](https://nvd.nist.gov/vuln/detail/CVE-2026-54785), Public domain, modified 2026-10-23
- PyPA Advisory Database: [PYSEC-2026-3574](https://osv.dev/vulnerability/PYSEC-2026-3574), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-54785 · Whole record: https://cve.day/CVE-2026-54785.json · Rebuilt by cve.day 2026-11-25T22:59:30.746Z
