CVE-2026-54785

Source
https://cve.org/CVERecord?id=CVE-2026-54785
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54785.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54785
Aliases
Published
2026-07-31T22:31:04.190Z
Modified
2026-08-02T03:47:49.392188684Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
Details

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, consultgeminiwith_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.

Database specific
{
    "cwe_ids": [
        "CWE-200",
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54785.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/elyin/gemini-bridge

Affected ranges

Type
GIT
Repo
https://github.com/elyin/gemini-bridge
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "fixed": "1.3.1"
        }
    ]
}

Affected versions

v1.*
v1.0.2
v1.0.3
v1.0.5
v1.1.0
v1.1.1
v1.2.0
v1.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54785.json"