{"uuid": "9e4a64e4-ae97-43ac-b10e-fa9a8368e2ab", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-102826", "type": "seen", "source": "https://gist.github.com/alon710/05873ca6bd41f996e1ec68cb18b2c0db", "content": "# CVE-2026-102826: CVE-2026-102826: Argument Validation Bypass and Command Injection in simple-git\n\n&gt; **CVSS Score:** 8.1\n&gt; **Published:** 2026-10-05\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-102826\n\n## Summary\nCVE-2026-102826 is a critical security vulnerability discovered in the simple-git library for Node.js, affecting all versions prior to v4.0.0. The vulnerability allows remote attackers to bypass the library's built-in argument validation rules using conditional configuration includes and abbreviated Command Line Interface (CLI) options. By injecting custom arguments into Git execution pipelines, an attacker can force the application to load a malicious local configuration file, resulting in arbitrary OS command execution under the privileges of the parent Node.js process.\n\n## TL;DR\nA flaw in simple-git permits attackers to inject malicious arguments via conditional Git configuration rules (includeIf) and abbreviated CLI options, leading to remote code execution.\n\n## Exploit Status: POC\n\n## Technical Details\n\n- **CWE ID**: CWE-77, CWE-78\n- **Attack Vector**: Network\n- **CVSS v3.1 Score**: 8.1\n- **EPSS Score**: 0.0046 (Percentile: 37.65%)\n- **Exploit Status**: poc\n- **CISA KEV Status**: Not Listed\n\n## Affected Systems\n\n- simple-git\n- @simple-git/argv-parser\n- @simple-git/args-pathspec\n- **simple-git**: &lt; 4.0.0 (Fixed in: `4.0.0`)\n- **@simple-git/argv-parser**: &lt; 1.1.1 (Fixed in: `1.1.1`)\n- **@simple-git/args-pathspec**: &lt; 1.0.4 (Fixed in: `1.0.4`)\n\n## Mitigation\n\n- Upgrade simple-git to version 4.0.0 or higher immediately.\n- Avoid passing custom or user-influenced command-line arguments to lower-level execution APIs.\n- Cleanse and restrict the runtime execution environment of the Node.js application process.\n\n**Remediation Steps:**\n1. Update the project dependencies using your package manager: npm install simple-git@latest or yarn upgrade simple-git.\n2. Audit the codebase to identify usage of raw CLI input fields mapped to simple-git methods.\n3. Deploy process-level logging to capture spawned Git binary arguments in production environments.\n\n## References\n\n- [Fix Commit](https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7)\n- [GitHub Security Advisory](https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr)\n- [NVD Vulnerability Details](https://nvd.nist.gov/vuln/detail/CVE-2026-102826)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-102826) - Automated Vulnerability Intelligence*", "creation_timestamp": "2026-10-06T06:30:32.000000Z"}