CVE-2026-54785 (GCVE-0-2026-54785)
Vulnerability from cvelistv5 – Published: 2026-07-31 22:31 – Updated: 2026-07-31 22:31
VLAI
EPSS
VEX
Title
gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode
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.
Severity
6.2 (Medium)
CWE
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/eLyiN/gemini-bridge/security/a… | x_refsource_CONFIRM |
| https://github.com/eLyiN/gemini-bridge/pull/9 | x_refsource_MISC |
| https://github.com/eLyiN/gemini-bridge/commit/8f3… | x_refsource_MISC |
| https://github.com/eLyiN/gemini-bridge/releases/t… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| eLyiN | gemini-bridge |
Affected:
>= 1.0.0, < 1.3.1
|
{
"containers": {
"cna": {
"affected": [
{
"product": "gemini-bridge",
"vendor": "eLyiN",
"versions": [
{
"status": "affected",
"version": "\u003e= 1.0.0, \u003c 1.3.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "gemini-bridge is a lightweight MCP server bridging AI agents to Google\u0027s 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 6.2,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-200",
"description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-31T22:31:04.190Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp"
},
{
"name": "https://github.com/eLyiN/gemini-bridge/pull/9",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/eLyiN/gemini-bridge/pull/9"
},
{
"name": "https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801"
},
{
"name": "https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1"
}
],
"source": {
"advisory": "GHSA-c5px-58j2-7fqp",
"discovery": "UNKNOWN"
},
"title": "gemini-bridge vulnerable to arbitrary local file read via consult_gemini_with_files inline mode"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-54785",
"datePublished": "2026-07-31T22:31:04.190Z",
"dateReserved": "2026-06-15T23:23:57.714Z",
"dateUpdated": "2026-07-31T22:31:04.190Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-54785",
"date": "2026-08-01",
"epss": "0.00151",
"percentile": "0.04834"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-54785\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-07-31T23:17:25.133\",\"lastModified\":\"2026-07-31T23:17:25.133\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"gemini-bridge is a lightweight MCP server bridging AI agents to Google\u0027s 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.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"eLyiN\",\"product\":\"gemini-bridge\",\"versions\":[{\"version\":\"\u003e= 1.0.0, \u003c 1.3.1\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":6.2,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.5,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"},{\"lang\":\"en\",\"value\":\"CWE-200\"}]}],\"references\":[{\"url\":\"https://github.com/eLyiN/gemini-bridge/commit/8f3b85afd02b692c4bc974b5176e12fb277ea801\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/eLyiN/gemini-bridge/pull/9\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/eLyiN/gemini-bridge/releases/tag/v1.3.1\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/eLyiN/gemini-bridge/security/advisories/GHSA-c5px-58j2-7fqp\",\"source\":\"security-advisories@github.com\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…