製品・ソフトウェアに関する情報
simple-git projectのsimple-gitにおけるコードインジェクションの脆弱性
Title simple-git projectのsimple-gitにおけるコードインジェクションの脆弱性
Summary

バージョン3.36.0未満のsimple-gitパッケージには、不完全な修正によりリモートコード実行(RCE)の脆弱性があります。この修正はSNYK-JS-SIMPLEGIT-3112221のためのもので、「-c」オプションをブロックしますが、同等の「--config」形式はブロックしません。信頼されていない入力がsimple-gitのオプション引数に渡される場合、攻撃者はprotocol.ext.allow=alwaysを有効にし、ext::クローンソースを使用することでリモートコード実行を引き起こす可能性があります。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 25, 2026, midnight
Registration Date May 20, 2026, 1:24 p.m.
Last Update May 20, 2026, 1:24 p.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
simple-git project
simple-git 3.15.0 以上 3.36.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月20日]
  掲載
May 20, 2026, 1:24 p.m.

NVD Vulnerability Information
CVE-2026-6951
Summary

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.

Publication Date April 25, 2026, 3:16 p.m.
Registration Date April 26, 2026, 4:07 a.m.
Last Update April 29, 2026, 10 a.m.
Related information, measures and tools
Common Vulnerabilities List