# CVE-2026-102828: simple-git unsafe-operation guard does not block trailer command configuration

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-09-29T18:43:19.086Z
- Modified: 2026-10-08T20:03:07.760Z
- Also known as: GHSA-x6jw-m9v5-85vh
- Weaknesses: CWE-78, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- steveukx git-js: >= 3.15.0, < 4.0.1
- simple-git (npm): from 3.15.0 before 4.0.1
- simple-git_project simple-git: from 3.15.0 before 4.0.1

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh> (mitigation, vendor-advisory, web)
- <https://github.com/steveukx/git-js/pull/1198> (patch, web)
- <https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3> (patch, web)
- <https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102828> (advisory)
- <https://github.com/steveukx/git-js> (package)

## Sources

- CVE List: [CVE-2026-102828](https://www.cve.org/CVERecord?id=CVE-2026-102828), CVE Terms of Use, modified 2026-09-30
- GitHub Advisory Database: [GHSA-x6jw-m9v5-85vh](https://github.com/advisories/GHSA-x6jw-m9v5-85vh), CC-BY-4.0, modified 2026-10-06
- NVD: [CVE-2026-102828](https://nvd.nist.gov/vuln/detail/CVE-2026-102828), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-102828 · Whole record: https://cve.day/CVE-2026-102828.json · Rebuilt by cve.day 2026-11-25T22:59:41.549Z
