CVE-2026-6951
CRITICAL9.8EPSS 0.16%simple-git is vulnerable to Remote Code Execution
發布日:2026/4/25修改日:2026/5/26
描述
Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.
受影響套件(1)
- npm/simple-gitfrom 0, < 3.36.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-6951
- PATCHhttps://github.com/steveukx/git-js
- WEBhttps://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- WEBhttps://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
- WEBhttps://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078