Vulnerabilities / CVE-2025-69264

critical

CVE-2025-69264

pnpm: pnpm code execution

Published Modified CWE 693
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (high).

Description

pnpm is a package manager. Versions 10.0.0 through 10.25 allow git-hosted dependencies to execute arbitrary code during pnpm install, circumventing the v10 security feature "Dependency lifecycle scripts execution disabled by default". While pnpm v10 blocks postinstall scripts via the onlyBuiltDependencies mechanism, git dependencies can still execute prepare, prepublish, and prepack scripts during the fetch phase, enabling remote code execution without user consent or approval. This issue is fixed in version 10.26.0.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.23pnpm10.33.4-r0
minimospnpm10.26.0-r0
npm::GitHub Security Advisory npmpnpm10.26.0
rapidfort alpine 3.20pnpm10.26.0-r0
rapidfort alpine 3.21pnpm10.26.0-r0
rapidfort alpine 3.22pnpm10.26.0-r0
rapidfort fedora 43nodejs-pnpm, pnpm10.27.0-1.fc43
Show all 8 entries from 7 sources
SourcePackageFixed in
alpine 3.23pnpm10.33.4-r0
minimospnpm10.26.0-r0
npm::GitHub Security Advisory npmpnpm10.26.0
rapidfort alpine 3.20pnpm10.26.0-r0
rapidfort alpine 3.21pnpm10.26.0-r0
rapidfort alpine 3.22pnpm10.26.0-r0
rapidfort fedora 43nodejs-pnpm10.27.0-1.fc43
rapidfort fedora 43pnpm10.27.0-1.fc43

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.