新着 / 2026年11月26日 / CVE-2026-137090
build-git-cloneのOSコマンドインジェクション脆弱性
掲載
何が問題か
build-git-cloneのclone()関数において、url引数が検証されずsh -cのコマンドに連結されるため、OSコマンドインジェクションの脆弱性があると説明されています。細工したリポジトリURLにより、攻撃者がシェルのメタ文字(例:;や$())を埋め込んで任意のOSコマンドを実行できるとされています。対象となるバージョンは1.0.4より前です。
悪用されると
悪用されると、攻撃者がNode.jsプロセスの権限でOSコマンドを実行できるとされています。CVSS v4.0の基本値は9.3(CRITICAL)です。実際の悪用が確認されているかは公表されていません。
取るべき対応
build-git-cloneを1.0.4以降のバージョンに更新してください。信頼できないURLを本ライブラリに渡さない運用も併せて検討してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 緊急 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 問題の種類 | CWE-78 |
| CVE公開日 | 2026-11-25 |
出典
- NVD: CVE-2026-137090
- https://github.com/emanuelmoraes-dev/build-git-clone/blob/68bc305028d04c9a71a030c4b0b5cc36450201b9/src/index.ts#L77
- https://github.com/emanuelmoraes-dev/build-git-clone/commit/3d55e64e5b7c61e560b5d030d6a918cad5c67a29
- https://github.com/emanuelmoraes-dev/build-git-clone/pull/1
- https://www.vulncheck.com/advisories/build-git-clone-before-1.0.4-os-command-injection-in-clone-via-repository-url
公式の説明(英語の原文)
build-git-clone before 1.0.4 contains an OS command injection vulnerability in the clone() function that allows attackers to execute commands by supplying crafted repository URLs. Attackers can embed shell metacharacters such as ; or $() in the url argument, which is concatenated into a sh -c command, to execute operating system commands with Node.js process privileges.