pnpmにおけるデータの整合性検証不備に関する脆弱性
| Title |
pnpmにおけるデータの整合性検証不備に関する脆弱性
|
| Summary |
pnpmはパッケージマネージャーです。バージョン10.34.0および11.4.0より前のpnpmでは、tarball抽出ワーカーがlockfileのresolutionにintegrityフィールドが存在しない場合に整合性検証をスキップしていました。攻撃者がpnpm-lock.yamlを改ざんし、integrityフィールドを削除して参照されているレジストリURLが変更されたパッケージコンテンツを提供できる場合、pnpm install --frozen-lockfileは整合性エラーを発生させずに変更されたパッケージをインストールしてしまいます。npmのnpm ciはデフォルトで整合性を強制しますが、pnpmが検証を静かにスキップする動作はpnpmに固有のfail-open脆弱性となっています。この脆弱性はバージョン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 |
8.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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-50021
| Summary |
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's tarball extraction worker skips integrity verification when the integrity field is absent from the lockfile resolution. If an attacker can both modify pnpm-lock.yaml to remove the integrity: field and cause the referenced registry URL to serve altered package content, pnpm install --frozen-lockfile can install the altered package without an integrity error. npm's npm ci enforces integrity by default; pnpm's behavior of silently skipping verification is a pnpm-specific fail-open gap. 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