CVE Explorer
CVE-2026-23888
pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's binary fetcher allows malicious packages to write files outside the intended extraction directory. The vulnerability has two attack vectors: (1) Malicious ZIP entries containing `../` or absolute paths that escape the extraction root via AdmZip's `extractAllTo`, and (2) The `BinaryResolution.prefix` field is concatenated into the extraction path without validation, allowing a crafted prefix like `../../
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-23","description":"CWE-23: Relative Path Traversal","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-426","description":"CWE-426: Untrusted Search Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"pnpm","vendor":"pnpm","versions":[{"status":"affected","version":"< 10.28.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-23","description":"CWE-23: Relative Path Traversal","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-426","description":"CWE-426: Untrusted Search Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pnpm/pnpm/commit/5c382f0ca3b7cc49963b94677426e66539dcb3f5","tags":["x_refsource_MISC"],"url":"https://github.com/pnpm/pnpm/commit/5c382f0ca3b7cc49963b94677426e66539dcb3f5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/references/1
{"name":"https://github.com/pnpm/pnpm/releases/tag/v10.28.1","tags":["x_refsource_MISC"],"url":"https://github.com/pnpm/pnpm/releases/tag/v10.28.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /containers/cna/references/2
{"name":"https://github.com/pnpm/pnpm/security/advisories/GHSA-6pfh-p556-v868","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-6pfh-p556-v868"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:291ba881d6fe70df2d404e084a150f77d8cb26b7edf999c55849c2a0f36f4960 · sha256:58e6a7774853378d… · /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.