# CVE-2026-102827: simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.58%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-29T18:39:57.688Z
- Modified: 2026-10-08T20:11:17.640Z
- Also known as: GHSA-858h-whjf-mvg5
- Weaknesses: CWE-77, CWE-88
- 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. Prior to 4.0.0, the default blockUnsafeOperationsPlugin compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. This issue is fixed in 4.0.0.

(As written by CVE List.)

## Affected

- steveukx git-js: < 4.0.0
- simple-git (npm): before 4.0.0
- simple-git_project simple-git: before 4.0.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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-858h-whjf-mvg5> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/steveukx/git-js/pull/1193> (patch, web)
- <https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7> (patch, web)
- <https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102827> (advisory)
- <https://github.com/steveukx/git-js> (package)

## Sources

- CVE List: [CVE-2026-102827](https://www.cve.org/CVERecord?id=CVE-2026-102827), CVE Terms of Use, modified 2026-10-02
- GitHub Advisory Database: [GHSA-858h-whjf-mvg5](https://github.com/advisories/GHSA-858h-whjf-mvg5), CC-BY-4.0, modified 2026-10-06
- NVD: [CVE-2026-102827](https://nvd.nist.gov/vuln/detail/CVE-2026-102827), Public domain, modified 2026-10-08

---

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