CVE Explorer
CVE-2026-24056
pnpm is a package manager. Prior to version 10.28.2, when pnpm installs a `file:` (directory) or `git:` dependency, it follows symlinks and reads their target contents without constraining them to the package root. A malicious package containing a symlink to an absolute path (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) causes pnpm to copy that file's contents into `node_modules`, leaking local data. The vulnerability only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks s
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-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:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"pnpm","vendor":"pnpm","versions":[{"status":"affected","version":"< 10.28.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.7,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"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:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pnpm/pnpm/commit/b277b45bc35ae77ca72d7634d144bbd58a48b70f","tags":["x_refsource_MISC"],"url":"https://github.com/pnpm/pnpm/commit/b277b45bc35ae77ca72d7634d144bbd58a48b70f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/references/1
{"name":"https://github.com/pnpm/pnpm/releases/tag/v10.28.2","tags":["x_refsource_MISC"],"url":"https://github.com/pnpm/pnpm/releases/tag/v10.28.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /containers/cna/references/2
{"name":"https://github.com/pnpm/pnpm/security/advisories/GHSA-m733-5w8f-5ggw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-m733-5w8f-5ggw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0e26789db11b70811f5fba5b7d7464b81688b80afbc83871f52ad22b9ffa4fc8 · sha256:6ba53142178b0962… · /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.