{"id":"CVE-2026-102828","revision":"d2cb23d3ec9843b48b3af913c1a0217f","records":[{"revision":"d2cb23d3ec9843b48b3af913c1a0217f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-102828","aliases":[],"title":"simple-git unsafe-operation guard does not block trailer command configuration","description":"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.","state":0,"publishedAt":"2026-09-29T18:43:19.086+00:00","modifiedAt":"2026-09-30T20:08:15.246+00:00","affected":[{"ecosystem":"Vendor product","name":"git-js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"steveukx\",\n                    \"product\": \"git-js\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 3.15.0, < 4.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":9.2,"severity":"CRITICAL"}],"references":["https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh","https://github.com/steveukx/git-js/pull/1198","https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3","https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-102828","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-102828","identifiers":["CVE-2026-102828"]},"retained":false,"historicalAffected":[]}],"coverage":[]}