{"uuid": "268dd0ca-32e9-47d3-9639-47c1dad519e8", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "GHSA-858h-whjf-mvg5", "type": "seen", "source": "https://gist.github.com/alon710/7c1d1754c30e0500c12b9daffdbd49f6", "content": "# CVE-2026-102827: CVE-2026-102827: Command and Argument Injection Bypass in simple-git via Option Abbreviation\n\n&gt; **CVSS Score:** 8.1\n&gt; **Published:** 2026-10-05\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-102827\n\n## Summary\nCVE-2026-102827 is an argument injection bypass vulnerability in the node.js simple-git package where the default blockUnsafeOperationsPlugin fails to detect abbreviated Git command options. Attackers can bypass validations using prefixes like --receive-p or --exe, which native Git subsequently expands to dangerous options, leading to remote command execution.\n\n## TL;DR\nA validation mismatch allows command execution bypasses in simple-git by using abbreviated Git options such as --receive-p and --exe, which bypass blocklist filters but are fully executed by the underlying Git binary.\n\n## Exploit Status: POC\n\n## Technical Details\n\n- **CWE ID**: CWE-88, CWE-77\n- **Attack Vector**: Network\n- **CVSS Base Score**: 8.1\n- **Exploit Maturity**: PoC\n- **Affected Component**: blockUnsafeOperationsPlugin\n- **Remediation Strategy**: GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS\n\n## Affected Systems\n\n- Node.js environments deploying applications that integrate simple-git versions prior to 4.0.0\n- Systems executing server-side simple-git commands where parameters are derived from user-controlled inputs\n- **simple-git**: &lt; 4.0.0 (Fixed in: `4.0.0`)\n\n## Mitigation\n\n- Upgrade simple-git to 4.0.0 or later to enable native abbreviation restriction.\n- Perform strict validation on user-supplied options, rejecting strings starting with a hyphen (-) unless matched against an allowlist.\n- Restrict execution context using container-level isolation and minimal privilege user configurations.\n\n**Remediation Steps:**\n1. Identify current simple-git version by running: npm list simple-git\n2. Update simple-git dependency in package.json to at least ^4.0.0\n3. Run npm install to pull down the patched package\n4. Verify that custom arguments are not explicitly utilizing dangerous abbreviation overrides in application code\n\n## References\n\n- [GHSA-858h-whjf-mvg5 Security Advisory](https://github.com/steveukx/git-js/security/advisories/GHSA-858h-whjf-mvg5)\n- [NVD CVE-2026-102827 Entry](https://nvd.nist.gov/vuln/detail/CVE-2026-102827)\n- [CVE.org Record](https://www.cve.org/CVERecord?id=CVE-2026-102827)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-102827) - Automated Vulnerability Intelligence*", "creation_timestamp": "2026-10-06T07:30:28.000000Z"}