pnpmにおける引数の挿入または変更に関する脆弱性
| Title |
pnpmにおける引数の挿入または変更に関する脆弱性
|
| Summary |
pnpmはパッケージマネージャーです。バージョン10.34.0および11.4.0以前のpnpmでは、lockfileで管理されているgitのresolution.commit値を、区切り文字「--」やコミット形式の検証なしにgit fetchに渡します。shallow-fetch経路を通じて取得されるgit依存関係の場合、悪意のあるlockfileによって、予期される40文字のコミットハッシュが「--upload-pack=command」のようなGitオプションに置き換えられる可能性があります。SSHおよびローカルトランスポートでは、--upload-packが指定されたコマンドを実行できます。HTTPSトランスポートは--upload-packを無視するため、実際の攻撃対象は主にSSHまたはローカルのgit依存関係になります。この脆弱性はバージョン10.34.0および11.4.0で修正されています。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 25, 2026, midnight |
| Registration Date |
June 30, 2026, 11:19 a.m. |
| Last Update |
June 30, 2026, 11:19 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7.3
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected System
| pnpm |
|
pnpm 10.34.0 未満
|
|
pnpm 11.0.0 以上 11.4.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月30日] 掲載 |
June 30, 2026, 11:19 a.m. |
NVD Vulnerability Information
CVE-2026-50014
| Summary |
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm passes the lockfile-controlled git resolution.commit value to git fetch without a -- separator or commit-format validation. For git dependencies fetched through the shallow-fetch path, a malicious lockfile can replace the expected 40-character commit hash with a Git option such as --upload-pack=<command>. For SSH and local transports, --upload-pack can execute the supplied command. HTTPS transports ignore --upload-pack, so the practical attack surface is primarily SSH or local git dependencies. This vulnerability is fixed in 10.34.0 and 11.4.0.
|
| Publication Date |
June 26, 2026, 3:16 a.m. |
| Registration Date |
June 27, 2026, 4:29 a.m. |
| Last Update |
June 26, 2026, 2:16 p.m. |
Related information, measures and tools
Common Vulnerabilities List