PT-2026-4822 · Pnpm · Pnpm

Mldangelo

·

Publicado

2026-01-17

·

Atualizado

2026-02-02

·

CVE-2026-23888

CVSS v2.0

7.8

Alta

VetorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions pnpm versions prior to 10.28.1
Description pnpm, a package manager, contains a flaw in its binary fetcher that permits malicious packages to write files outside the designated extraction directory. This issue arises from two attack vectors: malicious ZIP entries utilizing ../ or absolute paths to bypass the extraction root through AdmZip's extractAllTo function, and the lack of validation when concatenating the BinaryResolution.prefix field into the extraction path, enabling crafted prefixes like ../../evil to redirect files. The vulnerability affects users installing packages with binary assets, those configuring custom Node.js binary locations, and CI/CD pipelines automatically installing binary dependencies. Exploitation can result in overwriting configuration files, scripts, and other sensitive data, potentially leading to Remote Code Execution (RCE).
Recommendations Update pnpm to version 10.28.1 or later.

Exploit

Correção

Path traversal

Untrusted Search Path

Relative Path Traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2026-00957
CVE-2026-23888
GHSA-6PFH-P556-V868

Produtos afetados

Pnpm