Skip to main content
Public proof of conceptFix available

CVE-2025-69262

A public proof of concept exists; no exploitation attested.

  • Published2026-01-07
  • Fixed in10.27.0
  • WeaknessCWE-78 · CWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-01-0723:15CVE publishedNVD

Versions per branch

NVD · OSV
Pnpm
BranchAffectedFixed in
10.27≥ 6.25.0, < 10.27.010.27.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • pnpm
    Affected
    • = >=6.25.0, < 10.27.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-01-07

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • pnpmMinimOSall versions · fixed in 10.27.0-r0
  • pnpmAlpine:v3.23from 6.25.0 · fixed in 10.33.4-r0
  • pnpm-stage0Wolfiall versions · no fixed version listed
  • pnpm-stage0Chainguardall versions · no fixed version listed

Vendor advisories

  • CVE-2025-69262 Red Hat Product Security

    pnpm: pnpm: Remote code execution via command injection in tokenHelper environment variable substitution

Full record on NVD

Fix

  1. Update Pnpm to 10.27.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-01-09
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.8read 2026-10-23
  • CNAweakness (CWE)CWE-78, CWE-94known since 2026-10-23
  • FIRST EPSSEPSS score1.0 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2026-01-07

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-01-07
Last Modified
2026-10-14
NVD status
Analyzed
GitHub Advisory
GHSA-2phv-j68v-wwqx

Frequently asked questions

What is 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.

Is CVE-2025-69262 actively exploited?

A proof-of-concept exploit exists for CVE-2025-69262, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-69262?

CVE-2025-69262 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running pnpm? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record