GHSA-4h5r-5jm8-jxjm

Suggest an improvement
Source
https://github.com/advisories/GHSA-4h5r-5jm8-jxjm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4h5r-5jm8-jxjm/GHSA-4h5r-5jm8-jxjm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4h5r-5jm8-jxjm
Aliases
  • CVE-2026-0755
Published
2026-06-18T20:44:58Z
Modified
2026-06-18T21:00:15.907341037Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
gemini-mcp-tool vulnerable to OS command injection and @file exfiltration via prompt quoting (CVE-2026-0755)
Details

Untrusted prompt input could reach the Gemini CLI @file parser, allowing read/exfiltration of arbitrary local files (@/etc/passwd, @~/.ssh/id_rsa, @../../secret). On Windows, unquoted cmd.exe metacharacters could break out into OS command injection.

Fix (1.1.6): removed the broken shell:false double-quote wrapping; added assertSafeFileReferences() to contain @file refs to the working directory; hardened Windows cmd.exe argument quoting.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-18T20:44:58Z",
    "nvd_published_at": null,
    "severity": "CRITICAL",
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

npm / gemini-mcp-tool

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.1.2
Fixed
1.1.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-4h5r-5jm8-jxjm/GHSA-4h5r-5jm8-jxjm.json"