CVE-2026-54785 json
gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
published 3mo ago modified 19d ago also GHSA-c5px-58j2-7fqp , PYSEC-2026-3574 , EUVD-2026-51677
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi gemini-bridge 1.3.1
- github.com/eLyiN/gemini-bridge@8f3b85a commit
- github.com/eLyiN/gemini-bridge#9 pull request
- github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1 release
Is CVE-2026-54785 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gemini-bridge | >=1.0.0, <1.3.1 |
1.3.1 |
Affected products
- eLyiN gemini-bridge
Classification
References
-
github.com
/eLyiN/gemini-bridge/pull/9
web
-
github.com
/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801
web
-
github.com
/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp
web
-
github.com
/eLyiN/gemini-bridge/releases/tag/v1.3.1
web
-
github.com
/eLyiN/gemini-bridge
package
-
pypi.org
/project/gemini-bridge
package
-
github.com
/advisories/GHSA-c5px-58j2-7fqp
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-54785
advisory
Sources
- CVE List CVE-2026-54785
- GitHub Advisory GHSA-c5px-58j2-7fqp
- NVD CVE-2026-54785
- OSV PYSEC-2026-3574
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.