Skip to main content

git-mcp-server CVE-2026-85626

| EUVDEUVD-2026-71233 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-09-04 VulnCheck GHSA-p58h-f635-vjjm
8.7
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
8.7 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
8.6 HIGH

Unauthenticated network vector; scope change (S:C) because writes escape the repository to arbitrary OS-accessible paths, affecting the broader system.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Metadata Corrected
Sep 04, 2026 - 15:40 vuln.today
tag: Code Injection removed
Analysis Generated
Sep 04, 2026 - 15:38 vuln.today
CVE Published
Sep 04, 2026 - 14:32 cve.org
HIGH 8.7

DescriptionCVE.org

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.

AnalysisAI

Argument injection in git-mcp-server 2.15.1 allows unauthenticated remote attackers to write arbitrary files outside the target repository to any filesystem path reachable by the server process. The ref and object parameters passed to the git_log, git_diff, and git_show tool handlers lack leading-dash validation, permitting injection of git command-line options such as --output= directly into the underlying CLI invocation. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation No authentication is required and no special configuration is needed - exploitation targets the default tool-handling behavior of git-mcp-server v2.15.1 for the `git_log`, `git_diff`, and `git_show` tools when invoked with attacker-controlled `ref` or `object` parameters. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H) accurately reflects a straightforward, unauthenticated network-reachable injection with high integrity impact; no exploitation complexity or privilege barrier is required. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade to git-mcp-server v2.15.3, which introduces leading-dash validation in the command-builder utility (`src/services/git/providers/cli/utils/command-builder.ts`) and in the `git_log` operation (`src/services/git/providers/cli/operations/commits/log.ts`), preventing argument injection via the `ref` and `object` parameters. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, identify all systems running git-mcp-server and determine which versions are deployed; immediately implement network-level access controls restricting traffic to git-mcp-server ports to only trusted internal IP ranges. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-85626 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy