Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-69262— pnpm vulnerable to Command Injection via environment variable substitution

Quick assessment

Affected
pnpm pnpm
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pnpm是pnpm开源的一个包管理器。 pnpm 6.25.0版本至10.26.2版本存在代码注入漏洞,该漏洞源于在.npmrc配置文件中使用环境变量替换时存在命令注入,可能导致远程代码执行。

CVSS 7.6 · High EPSS 1.04% · P63

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-69262

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pnpm vulnerable to Command Injection via environment variable substitution
Source: CVE Program / CVE List V5
Vulnerability Description
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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
pnpm 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pnpm是pnpm开源的一个包管理器。 pnpm 6.25.0版本至10.26.2版本存在代码注入漏洞,该漏洞源于在.npmrc配置文件中使用环境变量替换时存在命令注入,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pnpm pnpm >=6.25.0, < 10.27.0 -

II. Public POCs for CVE-2025-69262

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-69262

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-69262 (1)

Other References for CVE-2025-69262 (1)

Same Patch Batch · pnpm · 2026-01-07 · 3 CVEs total

CVE-2025-69264 8.8 HIGH pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
CVE-2025-69263 7.5 HIGH pnpm Lockfile Integrity Bypass Allows Remote Dynamic Dependencies

IV. Related Vulnerabilities

V. Comments for CVE-2025-69262

No comments yet


Leave a comment