CVE-2026-85626

Source
https://cve.org/CVERecord?id=CVE-2026-85626
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85626.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-85626
Published
2026-09-04T14:32:16Z
Modified
2026-09-25T03:30:38Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters
Details

git-mcp-server 2.15.1 contains an argument injection vulnerability in the ref and object parameters of git_log, git_diff, and git_show tools that lack leading-dash validation. Attackers can inject git command-line options like --output= to write files outside the repository to arbitrary paths accessible by the process.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-88"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85626.json"
}
References

Affected packages

Git / github.com/cyanheads/git-mcp-server

Affected ranges

Type
GIT
Repo
https://github.com/cyanheads/git-mcp-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "2.15.3"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

1.*
1.2.0
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.2.3
v1.2.4
v2.*
v2.0.0
v2.0.1
v2.0.10
v2.0.11
v2.0.12
v2.0.14
v2.0.15
v2.0.2
v2.0.3
v2.0.4
v2.0.6
v2.0.7
v2.0.8
v2.0.9
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.1.7
v2.1.8
v2.10.0
v2.10.1
v2.10.2
v2.10.3
v2.10.4
v2.10.5
v2.10.6
v2.11.0
v2.11.1
v2.12.0
v2.12.1
v2.13.0
v2.14.0
v2.14.1
v2.14.2
v2.15.0
v2.15.1
v2.15.2
v2.15.3
v2.2.1
v2.2.2
v2.2.3
v2.2.4
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.4.7
v2.4.9
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.9.1
v2.9.2

Database specific

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