CVE Explorer
CVE-2025-69262
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"pnpm","vendor":"pnpm","versions":[{"status":"affected","version":">=6.25.0, < 10.27.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pnpm/pnpm/releases/tag/v10.27.0","tags":["x_refsource_MISC"],"url":"https://github.com/pnpm/pnpm/releases/tag/v10.27.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/adp/0/references/0
{"name":"https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-2phv-j68v-wwqx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:81e2f494c8acb2c30d6483410326f334749c981b3536a89bd5deeb20a6f258e7 · sha256:9294fe70c0aef27d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.