{"id":"CVE-2026-102828","published":"2026-09-29T18:43:19Z","modified":"2026-09-30T20:08:15Z","title":"simple-git unsafe-operation guard does not block trailer command configuration","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. From 3.15.0 until 4.0.1, the default blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as unsafe configuration. An application that passes attacker-controlled values through SimpleGitOptions.config or inline -c arguments can therefore allow Git to invoke an attacker-selected shell command when git interpret-trailers processes the configured trailer. The command executes with the operating-system identity and permissions of the Node.js process. This issue is fixed in 4.0.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00692,"percentile":0.48198,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/steveukx/git-js/pull/1198","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":9.64},{"name":"CVSS severity","points":6.44}]},"vendorSlug":"steveukx","affectedVersions":[{"vendor":"steveukx","product":"git-js","versions":[">= 3.15.0, < 4.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-30T20:08:07.142494Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"simple-git","vulnerableRanges":[">=3.15.0, <4.0.1"],"patched":["4.0.1"],"from":["GHSA-x6jw-m9v5-85vh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-89334","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-steveukx-git-js-cve-2022-24433","parents":[{"from":"CVE-2026-6951","to":"CVE-2026-102828","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/argv-parser/src/tokens/flag-specs.ts","packages/argv-parser/src/vulnerabilities/detect-vulnerable-config-writes.ts","packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts"],"commits":["https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3","https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-6951","published":"2026-04-25","fixed":"3.36.0","kev":false},{"cve":"CVE-2026-102826","published":"2026-09-29","fixed":"4.0.0","kev":false},{"cve":"CVE-2026-102827","published":"2026-09-29","fixed":"4.0.0","kev":false,"link":{"from":"CVE-2026-102827","to":"CVE-2026-102828","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:simple-git","fromFixed":"4.0.0","toFixed":"4.0.1","daysApart":0}]}},{"cve":"CVE-2026-102828","published":"2026-09-29","fixed":"4.0.1","kev":false}],"package":"npm:simple-git"}}