p PatchFirst

CVE-2026-48995

CVE-2026-48995 · pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile

This page contains facts from public vulnerability sources. Check the original advisory before updating.

pnpm is a package manager. Prior to 10.33.4 and 11.0.7, a malicious codeload.github.com server can serve whatever tarball it wants and pnpm will install it regardless of the lockfile. The lockfile does not store the hash of the dependencies from https://codeload.github.com. This means that if this server was compromised or a person's machine configuration was compromised, pnpm would download and install these dependencies. This vulnerability is fixed in 10.33.4 and 11.0.7.

CVSS 4.8 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • < 10.33.4: Affected
    • >= 11.0.0, < 11.0.7: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: < 10.33.4

    Update to 10.33.4

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 11.0.0, < 11.0.7

    Update to 11.0.7

Original sources

Check your server →