Skip to content

OS Command Injection in pnpm

CVE-2025-69262 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

pnpmのバージョン6.25.0から10.26.2には、.npmrcファイルのtokenHelper設定で環境変数の置換を行う際にコマンドインジェクションの脆弱性があります。攻撃者が環境変数を操作できる場合、ビルド環境でリモートからコードを実行されるおそれがあります。修正版の10.27.0以降へ更新してください。

What is the problem

pnpmの特定バージョンにおけるコマンドインジェクションの脆弱性。

Affected scope

pnpmバージョン6.25.0から10.26.2の環境変数置換とtokenHelper設定。

Severity

攻撃者がビルド環境でリモートコード実行を達成できるため、重大。

How to fix

pnpmをバージョン10.27.0にアップデートする。

Workaround

情報なし

Detection

環境での特定バージョンと設定の使用を確認する。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

pnpm is a package manager. Versions 6.25.0 through 10.26.2 have a Command Injection vulnerability when using environment variable substitution in .npmrc configuration files with tokenHelper settings. An attacker who can control environment variables during pnpm operations could achieve Remote Code Execution (RCE) in build environments. This issue is fixed in version 10.27.0.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details