{"id":"CVE-2026-102826","published":"2026-09-29T18:37:10Z","modified":"2026-09-29T19:58:38Z","title":"simple-git allows command execution through unblocked Git configuration includes","vendor":"steveukx","product":"git-js","tier":"tail","description":{"text":"simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin does not completely reject configuration includes supplied through customArgs to git.clone(). The missing include.path classification permits Git to load an attacker-controlled configuration file, and the initial remediation does not cover includeIf.<condition>.path, allowing the same file-loading primitive through a conditional include. A loaded configuration can set an executable Git option such as core.sshCommand, which Git invokes during the clone operation with the privileges of the Node.js process. Exploitation requires the application to pass attacker-influenced custom arguments and requires an attacker-controlled file that the process can read. This issue is fixed in 4.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00626,"percentile":0.44359,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/steveukx/git-js/pull/1193","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":8.87},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-23","earliestUrl":"https://github.com/CompleteTech-Security/simple-git-rce-check","repos":[{"name":"CompleteTech-Security/simple-git-rce-check","url":"https://github.com/CompleteTech-Security/simple-git-rce-check","stars":0,"created":"2026-10-23"}]},"first":{"date":"2026-10-23","source":"PoC-in-GitHub","url":"https://github.com/CompleteTech-Security/simple-git-rce-check"},"provenance":"source"},"vendorSlug":"steveukx","affectedVersions":[{"vendor":"steveukx","product":"git-js","versions":["< 4.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-29T19:58:11.737330Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"simple-git","vulnerableRanges":["<4.0.0"],"patched":["4.0.0"],"from":["GHSA-g4wm-2vf7-vfgr"],"provenance":"source"}],"summary":{"text":"The flaw is in the git-js product from steveukx, specifically in the simple-git package's default blockUnsafeOperationsPlugin, which fails to fully reject Git configuration includes passed through customArgs to git.clone() (including includeIf conditional includes in the initial remediation). An attacker who can influence those custom arguments and supply a readable configuration file can have Git load a malicious config that sets an executable option such as core.sshCommand, which runs with the privileges of the Node.js process during the clone operation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:06Z"},"euvd":{"id":"EUVD-2026-89332","exploited":false,"provenance":"source"}}